sql语句查询表字段类型格式

select a.name 表名,b.name 字段名,c.name 字段类型,c.length 字段长度 from sysobjects a,syscolumns b,systypes c where a.id=b.id and a.name='查询的表名' and a.xtype='U' and b.xtype=c.xtypeobject
相关文章
相关标签/搜索