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.

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