Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

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