得到表中字段属性代码

发表于:2007-06-30来源:作者:点击数: 标签:
set AdoX = server.createobject("adox.catalog")
set fld = server.createobject("adox.column")

AdoX.ActiveConnection = conn
set fld = AdoX.Tables(sTableName).Columns(sName)

lType = fld.Type
lSize = fld.DefinedSize

原文转自:http://www.ltesting.net