好湿?好紧?好多水好爽自慰,久久久噜久噜久久综合,成人做爰A片免费看黄冈,机机对机机30分钟无遮挡

主頁 > 知識庫 > 如何顯示數據庫的結構?

如何顯示數據庫的結構?

熱門標簽:語音電銷機器人視頻 武漢如何辦理400電話 400電話是怎么申請 重慶400電話哪里辦理 遼寧營銷智能外呼系統價格多少 推銷電話機器人怎么打電話的 教育機構地圖標注 常州智能外呼電銷機器人如何 自適應地圖標注

html>
head>
meta http-equiv="Content-Type" content="text/html; charset=gb2312">
/head>
body bgcolor="#CCCCCC" text="#000000">
h2 align="center">
星河影動之查看數據庫結構/h2>
p>
%
on error resume next
table=request("table")
 ' 獲得表名.


if table>"" then
response.write "
數據表:"table
Set primary = con.OpenSchema(adSchemaPrimaryKeys, _
Array(empty, empty, table))
if primary("COLUMN_NAME")>"" then
primarykey=primary("COLUMN_NAME")
end if
primary.close
set primary=nothing
%>
/p>
center>
table width="650" border="1" cellpadding="0" cellspacing="0">
tr bgcolor="#CCCCCC">
th class="sundog" width="61">
div align="center">
字段/div>
/th>
th class="sundog" width="131">
div align="center">
類型/div>
/th>
th class="sundog" width="105">
div align="center">
設定大小/div>
/th>
th class="sundog" width="69">
div align="center">
允許空值/div>
/th>
th class="sundog" width="69">
自動編號
/th>
th class="sundog" width="81">
主鍵/th>
/tr>
%sql="select * from ["table"] "
set rs=con.execute(sql)
for i=0 to rs.fields.count-1
%>
tr bgcolor="#CCCCCC">
td class="sundog" height="2" width="61">
div align="center">%=rs(i).name%>/div>


----------------------------------------------------------------------------------------------------------------

 ' 字段名.

/td>
td class="sundog" height="2" width="131">
div align="center">
%
field_type=rs(i).type
select case field_type
case adEmpty
typ = "Empty"
case adTinyInt
typ = "TinyInt"
case adSmallInt
typ = "SmallInt"
case adInteger
typ = "Integer"
case adBigInt
typ = "BigInt"
case adUnsignedTinyInt
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 adIUnknown
typ = "IUnknown"
case adGUID
typ = "GUID"
case adDATE
typ = "DATE"
case adDBDate
typ = "DBDate"
case adDBTime
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 = "Chapter"
case adPropVariant
typ = "PropVariant"
case else
typ = "Unknown"
----------------------------------------------------------------------------------------------------------------

 

end select
response.write typ%>
 ' 字段類型.
/div>
/td>
td class="sundog" height="2" width="105">
div align="center">%=rs(i).definedsize%>/div>
/td>
 ' 字段長度.

td class="sundog" height="2" width="69">
div align="center">
%
attrib=rs(i).attributes
if (attrib and adFldIsNullable)=0 then
response.write "No"
else
response.write "Yes"
end if
%>
/div>
/td>

----------------------------------------------------------------------------------------------------------------

 ' 是否允許空值.
td class="sundog" height="2" width="69">
div align="center">
%if rs(i).Properties("ISAUTOINCREMENT") = True then%>
input type="checkbox" name="autoincrement" value="checkbox" checked>
%else%>
input type="checkbox" name="autoincrement" value="checkbox">
%end if%>
/div>
/td>
----------------------------------------------------------------------------------------------------------------

 ' 是否為自動編號.
td class="sundog" height="2" width="81">
div align="center">
%if rs(i).name=primarykey then%>
input type="checkbox" name="primarykey" value="checkbox" checked>
%else%>
input type="checkbox" name="primarykey" value="checkbox">
%end if%>
/div>
/td>
----------------------------------------------------------------------------------------------------------------

 ' 主健.
/tr>
%next %>
/table>
/center>

[1]

標簽:朔州 中山 柳州 雞西 邯鄲 襄陽 威海 遵義

巨人網絡通訊聲明:本文標題《如何顯示數據庫的結構?》,本文關鍵詞  如何,顯示,數據庫,的,結構,;如發現本文內容存在版權問題,煩請提供相關信息告之我們,我們將及時溝通與處理。本站內容系統采集于網絡,涉及言論、版權與本站無關。
  • 相關文章
  • 下面列出與本文章《如何顯示數據庫的結構?》相關的同類信息!
  • 本頁收集關于如何顯示數據庫的結構?的相關信息資訊供網民參考!
  • 推薦文章
    主站蜘蛛池模板: 亚洲国产精品无码久久久久久久久| 为了升职献给张行长全文| 亚洲AV天堂一区二区东京热| 无码亚洲AV片毛片成蜜柚| 九色porny首页| 性美国xxxxx| aSS亚洲美女裸体Piee| 1000部啪啪未满十八勿入使用评测| 男女激烈高清无遮挡动态图| 搞逼视频软件| a级毛片免费看| 精品国产乱码久久久ea7| 成人做爰黄AA片免费播放贝微微| 动漫爽?又黄?免费视频| 亚欧成人毛片一区二区三区四区| 差差漫画在线阅读入口| 午夜传情三级在线观看 | 美女的隐私视频播放app| 免费最新电影| 99ri在线视频网| 波多野结衣电梯里被强系列| 同桌上课时狂揉我下面作文| 中国人泡妞xxxxxxxx19| 被c到高潮婬荡呻吟视频| 一级A片黄女人高潮片黑人| 《乳色吐息》全集无删减| 麻豆视频ios| 日韩特黄| 91精品国产综合久久久久久漫画 | 中文字幕av亚洲精品一部二部| 80日本xxxxxxxxx| 男攻总攻cao烂总裁御宅屋| 羞羞免费观看视频| 亚洲人成77777| 美女网站免费在线观看| 美女胸部无遮挡| 97亚洲AV无码秘?软件| 国产精品嫩草影院入口介绍| ZO2O女人另类ZO2O洗浴| 蜜臀久久精品久久久久酒店| 黄蓉大战巨猿|