网站大量收购独家精品文档,联系QQ:2885784924

怎样把数据库结构显示出来的源代码.doc

怎样把数据库结构显示出来的源代码.doc

  1. 1、本文档共4页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
怎样把数据库结构显示出来的源代码.doc

  怎样把数据库结构显示出来的源代码教育资源库 通过以上的代码即可显示表的结构,字段类型,长度,自动编号,主健。如果你仔细研究后就可以发现如何远程改变数据库的结构了,祝你好运! 要查看此演示,需要你建立一个数据源,request(table)改为你的表的名字。 lt;htmlgt; lt;headgt; lt;titlegt;mainlt;/titlegt; lt;meta http-equiv=Content-Type content=text/html; charset=gb2312gt; lt;/headgt; lt;body bgcolor=#CCCCCC text=#000000gt; lt;h2 align=centergt;lt;font face=华文新魏gt;欢迎查看chenyangasp演示程序lt;/fontgt;lt;/h2gt; lt;pgt; lt;% on error resume next table=request(table) //获得表名 if tablelt;gt; then response.p;table Set primary = con.OpenSchema(adSchemaPrimaryKeys, _ Array(empty, empty, table)) if primary(COLUMN_NAME)lt;gt; then primarykey=primary(COLUMN_NAME) end if primary.close set primary=nothing %gt; lt;/pgt; lt;centergt; lt;table [table] set rs=con.execute(sql) for i=0 to rs.fields.count-1 %gt; lt;tr bgcolor=#CCCCCCgt; lt;td class=sundog height=2 e%gt;lt;/divgt; //字段名 lt;/tdgt; lt;td class=sundog height=2 pty typ = Empty case adTinyInt typ = TinyInt case adSmallInt typ = SmallInt case adInteger typ = Integer case adBigInt typ = BigInt case adUnsigne 123下一页 这篇文章来自..,。dTinyInt typ = UnsignedTinyInt case adUnsignedSmallInt typ = UnsignedSmallInt case adUnsignedInt typ = UnsignedInt case adUnsignedBigInt typ = UnsignedBigInt case adSingle typ = Single case adDouble typ = Double case adCurrency typ = Currency case adDecimal typ = Decimal case adNumeric typ = Numeric case adBoolean typ = Boolean case adError typ = Error case adUserDefined typ = UserDefined case adVariant typ = Variant case adIDispatch typ = IDispatch case adIUnknoe typ = DBTime case adDBTimeStamp typ = DBTimeStamp case adBSTR typ = BSTR case adChar typ = Char case adVarChar typ = VarChar case adLongVarChar typ = LongVarChar case adWChar typ = WChar case adVarWChar typ = VarWChar case adLongVarWChar typ = LongVarWChar case adBinary typ = Binary case adVarBinary typ = VarBinary case adLongVarBinary typ = LongVarBinary case adChapter typ = Ch

文档评论(0)

ggkkppp + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档