SELECT A.name As 表明,B.Name As 列名,
B.xtype As 列类型,C.Value As 字段说明
FROM sysobjects As A INNER JOIN syscolumns As B ON A.id = B.id
INNER JOIN sys.extended_properties As C ON C.major_id = A.id
AND ( minor_id = B.colid)
SELECT A.name As 表明,B.Name As 列名,
B.xtype As 列类型,C.Value As 字段说明
FROM sysobjects As A INNER JOIN syscolumns As B ON A.id = B.id
INNER JOIN sys.extended_properties As C ON C.major_id = A.id
AND ( minor_id = B.colid)