|
|
-
- --��Ʒ����
- create table tb_product (
- id int identity, --����id
- class_id nvarchar(255) null default '', --����id
- parent_id int not null default 0, --����id
- guid nvarchar(50) null, --guid
- name nvarchar(100) null, --����
- url nvarchar(255) null default '', --����
- path nvarchar(255) null default '', --·��
- fujian nvarchar(255) null default '', --������ַ
- seo_title nvarchar(255) null default '', --seo����
- seo_keywords nvarchar(255) null default '', --seo�ؼ���
- seo_description nvarchar(255) null default '', --seo����
- content ntext null, --����
- paixu int null default 0, --����
- hits int null default 0, --������
- jifen int null default 0, --����
- status int null default 0, --״̬
- attribute_content ntext null, --����ֵ
- color_content ntext null, --��ɫֵ
- attribute_value nvarchar(255) null default '', --����ֵid����
- select_value ntext null default '', --��ǰѡ��ֵ
- user_id int null default 0, --�û�id
- priceyj decimal(18,2) null, --ԭ��
- price decimal(18,2) null, --�۸�
- sales int null default 0, --����
- xinpin int null default 0, --��Ʒ
- tejia int null default 0, --�ؼ�
- remai int null default 0, --����
- tuijian int null default 0, --�Ƽ�
- add_time datetime null default getdate(), --��������
- statebaoyou int null default 0, --�Ƿ�����(0��/1��)
-
- constraint PK_TB_PRODUCT primary key (id)
- )
- go
-
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '����ID',
- 'user', @CurrentUser, 'table', 'tb_product', 'column', 'id'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '����ID',
- 'user', @CurrentUser, 'table', 'tb_product', 'column', 'parent_id'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '����ֵid����',
- 'user', @CurrentUser, 'table', 'tb_product', 'column', 'attribute_value'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '��ĿID',
- 'user', @CurrentUser, 'table', 'tb_product', 'column', 'class_id'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- 'guid',
- 'user', @CurrentUser, 'table', 'tb_product', 'column', 'guid'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '��Ʒ����',
- 'user', @CurrentUser, 'table', 'tb_product', 'column', 'name'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '���ӵ�ַ',
- 'user', @CurrentUser, 'table', 'tb_product', 'column', 'url'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- 'ͼƬ·��',
- 'user', @CurrentUser, 'table', 'tb_product', 'column', 'path'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '������ַ',
- 'user', @CurrentUser, 'table', 'tb_product', 'column', 'fujian'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '�Ż�����',
- 'user', @CurrentUser, 'table', 'tb_product', 'column', 'seo_title'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '�Ż��ؼ���',
- 'user', @CurrentUser, 'table', 'tb_product', 'column', 'seo_keywords'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '�Ż�����',
- 'user', @CurrentUser, 'table', 'tb_product', 'column', 'seo_description'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '����',
- 'user', @CurrentUser, 'table', 'tb_product', 'column', 'content'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '����',
- 'user', @CurrentUser, 'table', 'tb_product', 'column', 'paixu'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '������',
- 'user', @CurrentUser, 'table', 'tb_product', 'column', 'hits'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '����',
- 'user', @CurrentUser, 'table', 'tb_product', 'column', 'jifen'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '״̬',
- 'user', @CurrentUser, 'table', 'tb_product', 'column', 'status'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '����ֵ',
- 'user', @CurrentUser, 'table', 'tb_product', 'column', 'attribute_content'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '��ɫֵ',
- 'user', @CurrentUser, 'table', 'tb_product', 'column', 'color_content'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '��ǰѡ��ֵ',
- 'user', @CurrentUser, 'table', 'tb_product', 'column', 'select_value'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '�û�ID',
- 'user', @CurrentUser, 'table', 'tb_product', 'column', 'user_id'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- 'ԭ��',
- 'user', @CurrentUser, 'table', 'tb_product', 'column', 'priceyj'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '�۸�',
- 'user', @CurrentUser, 'table', 'tb_product', 'column', 'price'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '����',
- 'user', @CurrentUser, 'table', 'tb_product', 'column', 'sales'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '�Ƽ�',
- 'user', @CurrentUser, 'table', 'tb_product', 'column', 'tuijian'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '�ؼ�',
- 'user', @CurrentUser, 'table', 'tb_product', 'column', 'tejia'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '����',
- 'user', @CurrentUser, 'table', 'tb_product', 'column', 'remai'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '��Ʒ',
- 'user', @CurrentUser, 'table', 'tb_product', 'column', 'xinpin'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '��������',
- 'user', @CurrentUser, 'table', 'tb_product', 'column', 'add_time'
- go
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '�Ƿ�����(0��/1��)',
- 'user', @CurrentUser, 'table', 'tb_product', 'column', 'statebaoyou'
- go
|