Alter Table 表名 add
字段 int NOT NULL IDENTITY
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'id' , @level0type=N'SCHEMA',
@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'表名', @level2type=N'COLUMN',@level2name=N'字段'
GO
-- NOT NULL IDENTITY 自增设置