--产品品牌表
|
|
create table tb_pinpai (
|
|
id int identity, --自增阿弟
|
|
paixu int null default 0, --排序
|
|
name nvarchar(255) null, --品牌名称
|
|
beizhu ntext null, --备注
|
|
status int null default 0, --状态{1/显示,0/不显示}
|
|
add_time datetime null default getdate(), --添加时间
|
|
constraint PK_TB_PINPAI primary key (id)
|
|
)
|
|
go
|
|
|
|
execute sp_addextendedproperty 'MS_Description',
|
|
'自增阿弟',
|
|
'user', 'dbo', 'table', 'tb_pinpai', 'column', 'id'
|
|
go
|
|
execute sp_addextendedproperty 'MS_Description',
|
|
'排序',
|
|
'user', 'dbo', 'table', 'tb_pinpai', 'column', 'paixu'
|
|
go
|
|
execute sp_addextendedproperty 'MS_Description',
|
|
'品牌名称',
|
|
'user', 'dbo', 'table', 'tb_pinpai', 'column', 'name'
|
|
go
|
|
execute sp_addextendedproperty 'MS_Description',
|
|
'状态{1/显示,0/不显示}',
|
|
'user', 'dbo', 'table', 'tb_pinpai', 'column', 'status'
|
|
go
|
|
execute sp_addextendedproperty 'MS_Description',
|
|
'添加时间',
|
|
'user', 'dbo', 'table', 'tb_pinpai', 'column', 'add_time'
|
|
go
|
|
execute sp_addextendedproperty 'MS_Description',
|
|
'备注',
|
|
'user', 'dbo', 'table', 'tb_pinpai', 'column', 'beizhu'
|
|
go
|
|
|
|
|