select object_id from sys.sysobjects where name = table_name;select * from sys.extended_properties where major_id = object_id;扩展属性中有一name值是MS_Description,这个值是查看备注信息的。
select * from sys.extended_properties where major_id = object_id and name = 'MS_Description';