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
相關文章
相關標籤/搜索