sqlserver中获得某个表的字段说明

select a.name,b.value
from syscolumns as a
left outer join sysproperties as b  on a.id=b.id and b.smallid=a.colid
where a.id=object_id('表名')

原文地址:https://www.cnblogs.com/mincyw/p/1321953.html