閒言碎語不說,直接入主題。
表的擴展屬性查詢:
--'table_name'自己指定
select * from sys.fn_listextendedproperty
(default,'schema', 'dbo', 'table', 'table_name', null, null);
字段的擴展屬性查詢:
--'column_name'自己指定
select * from sys.fn_listextendedproperty
(default,'schema', 'dbo', 'table', 'table_name', 'column', 'column_name');
修改,刪除參照如下SP
sys.sp_addextendedproperty、
sys.sp_dropextendedproperty、
sys.sp_updateextendedproperty