摘要:
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... 阅读全文