|
|
- --��Ŀ��
- create table tb_product_class (
- id int identity, --����id
- channel_id int not null default 0, --Ƶ������
- title nvarchar(100) null, --����
- guid nvarchar(50) null, --guid
- parent_id int null default 0, --����id
- class_list nvarchar(500) null, --��Ŀ��
- attribute_list nvarchar(500) null, --���Լ�
- class_layer int null default 0, --����
- paixu int null default 0, --����
- url nvarchar(255) null default '', --����
- path nvarchar(255) null default '', --ͼƬ·��
- content ntext null, --����
- seo_title nvarchar(255) null default '', --seo����
- seo_keywords nvarchar(255) null default '', --seo�ؼ���
- seo_description nvarchar(255) null default '', --seo����
- state int null default 0, --״̬(0��ʾ/1����)
- constraint PK_TB_PRODUCT_CLASS primary key (id)
- )
- go
-
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '����ID',
- 'user', @CurrentUser, 'table', 'tb_product_class', 'column', 'id'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '״̬(0��ʾ/1����)',
- 'user', @CurrentUser, 'table', 'tb_product_class', 'column', 'state'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- 'Ƶ������',
- 'user', @CurrentUser, 'table', 'tb_product_class', 'column', 'channel_id'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '����',
- 'user', @CurrentUser, 'table', 'tb_product_class', 'column', 'title'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- 'guid',
- 'user', @CurrentUser, 'table', 'tb_product_class', 'column', 'guid'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '����',
- 'user', @CurrentUser, 'table', 'tb_product_class', 'column', 'parent_id'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '��Ŀ��',
- 'user', @CurrentUser, 'table', 'tb_product_class', 'column', 'class_list'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '���Լ�',
- 'user', @CurrentUser, 'table', 'tb_product_class', 'column', 'attribute_list'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '����',
- 'user', @CurrentUser, 'table', 'tb_product_class', 'column', 'class_layer'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '����',
- 'user', @CurrentUser, 'table', 'tb_product_class', 'column', 'paixu'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '���ӵ�ַ',
- 'user', @CurrentUser, 'table', 'tb_product_class', 'column', 'url'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- 'ͼƬ·��',
- 'user', @CurrentUser, 'table', 'tb_product_class', 'column', 'path'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '����',
- 'user', @CurrentUser, 'table', 'tb_product_class', 'column', 'content'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '�Ż�����',
- 'user', @CurrentUser, 'table', 'tb_product_class', 'column', 'seo_title'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '�Ż��ؼ���',
- 'user', @CurrentUser, 'table', 'tb_product_class', 'column', 'seo_keywords'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '�Ż�����',
- 'user', @CurrentUser, 'table', 'tb_product_class', 'column', 'seo_description'
- go
|