sql 2005 数据结构查询
- 获取sql 表结构
View CodeSELECT syscolumns.name,systypes.name,syscolumns.length --,syscolumns.isnullable FROM syscolumns, systypes WHERE syscolumns.xusertype = systypes.xusertype AND syscolumns.id = object_id('sgmaster')
SELECT syscolumns.name,systypes.name,syscolumns.length --,syscolumns.isnullable FROM syscolumns, systypes WHERE syscolumns.xusertype = systypes.xusertype AND syscolumns.id = object_id('sgmaster')