摘要: SELECT t.[name] AS TableName, --表名c.[name] AS ColName, --字段名cast(ep.[value] as varchar(100)) AS ColDescription --说明 FROM sys.tables t INNER JOIN sys.columns c ON t.object_id = c.object_id LEFT JOIN sys.extended_properties ep ON ep.major_id = c.object_id AND ep.minor_id = c.co... 阅读全文
posted @ 2013-02-01 09:46 xfyn 阅读(545) 评论(0) 推荐(0) 编辑