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
原文地址:https://www.cnblogs.com/Bokeyan/p/12119415.html
时间: 2024-10-27 19:51:28