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