Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

49 righe
1.6 KiB

--
create table tb_albums (
id int identity, --ID
paixu int null default 0, --
guid nvarchar(50) null, --guid
big_img nvarchar(255) null, --
small_img nvarchar(255) null, --
remark nvarchar(500) null default '', --
constraint PK_TB_ALBUMS primary key (id)
)
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'自增ID',
'user', @CurrentUser, 'table', 'tb_albums', 'column', 'id'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'排序',
'user', @CurrentUser, 'table', 'tb_albums', 'column', 'paixu'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'guid',
'user', @CurrentUser, 'table', 'tb_albums', 'column', 'guid'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'大图路径',
'user', @CurrentUser, 'table', 'tb_albums', 'column', 'big_img'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'缩略图路径',
'user', @CurrentUser, 'table', 'tb_albums', 'column', 'small_img'
go
declare @CurrentUser sysname
select @CurrentUser = user_name()
execute sp_addextendedproperty 'MS_Description',
'备注',
'user', @CurrentUser, 'table', 'tb_albums', 'column', 'remark'
go