--常用变量 create table tb_bianliang ( id int identity, --自增阿弟 paixu int null default 0, --排序 keyid nvarchar(255) null, --key zhi ntext null, --值 beizhu ntext null, --备注 status int null default 0, --状态(0正常/1禁止) add_time datetime null default getdate(), --添加时间 constraint PK_TB_BIANLIANG primary key (id) ) go execute sp_addextendedproperty 'MS_Description', '自增阿弟', 'user', 'dbo', 'table', 'tb_bianliang', 'column', 'id' go execute sp_addextendedproperty 'MS_Description', '排序', 'user', 'dbo', 'table', 'tb_bianliang', 'column', 'paixu' go execute sp_addextendedproperty 'MS_Description', 'key', 'user', 'dbo', 'table', 'tb_bianliang', 'column', 'keyid' go execute sp_addextendedproperty 'MS_Description', '值', 'user', 'dbo', 'table', 'tb_bianliang', 'column', 'zhi' go execute sp_addextendedproperty 'MS_Description', '备注', 'user', 'dbo', 'table', 'tb_bianliang', 'column', 'beizhu' go execute sp_addextendedproperty 'MS_Description', '状态(0正常/1禁止)', 'user', 'dbo', 'table', 'tb_bianliang', 'column', 'status' go execute sp_addextendedproperty 'MS_Description', '添加时间', 'user', 'dbo', 'table', 'tb_bianliang', 'column', 'add_time' go