|
|
- --��Ʒ��ɫ����
- create table tb_product_attribute_list (
- id int identity, --����id
- attribute_id int not null, --���Է���id
- attribute_value_id int not null, --����ֵid
- product_id int not null default 0, --��Ʒid
- title nvarchar(255) null default '', --��ɫ����
- path nvarchar(255) null default '', --ͼƬ·��
- constraint PK_TB_PRODUCT_ATTRIBUTE_LIST primary key (id)
- )
- go
-
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '����ID',
- 'user', @CurrentUser, 'table', 'tb_product_attribute_list', 'column', 'id'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '���Է���id',
- 'user', @CurrentUser, 'table', 'tb_product_attribute_list', 'column', 'attribute_id'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '����ֵid',
- 'user', @CurrentUser, 'table', 'tb_product_attribute_list', 'column', 'attribute_value_id'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '��Ʒid',
- 'user', @CurrentUser, 'table', 'tb_product_attribute_list', 'column', 'product_id'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '����',
- 'user', @CurrentUser, 'table', 'tb_product_attribute_list', 'column', 'title'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- 'ͼƬ·��',
- 'user', @CurrentUser, 'table', 'tb_product_attribute_list', 'column', 'path'
- go
|