sqlserver添加修改表备注信息

添加表说明:EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'表说明' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TableName'
修改表说明:EXEC sys.sp_updateextendedproperty @name=N'MS_Description', @value=N'表说明' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'TableName'

posted @ 2022-12-14 09:20  Thinking.N  阅读(196)  评论(0编辑  收藏  举报