You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 rivejä
1.4 KiB

--
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