标签:serve lte exe alter 添加 tab def 验收 for
https://blog.csdn.net/zanychou/article/details/7403336
EXEC sys.sp_addextendedproperty @name=N‘MS_Description‘, @value=N‘ID‘ , @level0type=N‘SCHEMA‘,@level0name=N‘dbo‘, @level1type=N‘TABLE‘,@level1name=N‘POS_RecA‘, @level2type=N‘COLUMN‘,@level2name=N‘ID‘
GO
EXEC sys.sp_addextendedproperty @name=N‘MS_Description‘, @value=N‘验收单号‘ , @level0type=N‘SCHEMA‘,@level0name=N‘dbo‘, @level1type=N‘TABLE‘,@level1name=N‘POS_RecA‘, @level2type=N‘COLUMN‘,@level2name=N‘rec_no‘
GO
ALTER TABLE 表名 ADD DEFAULT ((0)) FOR [_prt_times]
GO
SQL SERVER sys.sp_addextendedproperty 添加扩展属性
标签:serve lte exe alter 添加 tab def 验收 for
原文地址:https://www.cnblogs.com/Bokeyan/p/12119415.html