EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'表注释' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=表名'
--增加字段注释
execute sp_addextendedproperty 'MS_Description','字段注释','user','dbo','table','表名','column','字段名';
--修改字段注释
execute sp_updateextendedproperty 'MS_Description','字段注释 ','user','dbo','table','表名','column','字段名';
--删除字段注释
execute sp_dropextendedproperty 'MS_Description','user','dbo','table','表名','column','字段名';