摘要: select a.name as TableName,b.name as FieldName,c.text as defaultValuefrom sys.sysobjects a inner join sys.syscolumns b on a.id=b.id inner join sys.syscomments c on b.cdefault=c.idwhere a.xtype='U'order by a.name,b.nameselect a.name as TableName,b.name as FieldName,c.text as defaultValuefrom 阅读全文
posted @ 2013-07-01 16:21 空紫竹 阅读(606) 评论(0) 推荐(0) 编辑