|
|
-
- --������ַ����
- create table tb_freight (
- id int identity, --��������
- title nvarchar(100) null, --������ʽ
- gudingyf nvarchar(255) null default'', --�̶��˷�
- yuanmian nvarchar(255) null default'', --��Ԫ��
- yuanjifei nvarchar(255) null default'', --����Ԫ�Ʒ�
- jianmian nvarchar(255) null default'', --������
- jianjifei nvarchar(255) null default'', --�������Ʒ�
- content nvarchar(255) null default'', --��������
- paixu int null default 0, --����
- state int null default 0, --�Ƿ�ʹ��{0/�ǣ�1/��}
- add_time datetime null default getdate(), --��������
- constraint PK_TB_FREIGHT primary key (id)
- )
- go
-
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '��������',
- 'user', @CurrentUser, 'table', 'tb_freight', 'column', 'id'
- go
-
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '������ʽ',
- 'user', @CurrentUser, 'table', 'tb_freight', 'column', 'title'
- go
-
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '�̶��˷�',
- 'user', @CurrentUser, 'table', 'tb_freight', 'column', 'gudingyf'
- go
-
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '��Ԫ��',
- 'user', @CurrentUser, 'table', 'tb_freight', 'column', 'yuanmian'
- go
-
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '����Ԫ�Ʒ�',
- 'user', @CurrentUser, 'table', 'tb_freight', 'column', 'yuanjifei'
- go
-
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '������',
- 'user', @CurrentUser, 'table', 'tb_freight', 'column', 'jianmian'
- go
-
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '�������Ʒ�',
- 'user', @CurrentUser, 'table', 'tb_freight', 'column', 'jianjifei'
- go
-
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '��������',
- 'user', @CurrentUser, 'table', 'tb_freight', 'column', 'content'
- go
-
-
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '����',
- 'user', @CurrentUser, 'table', 'tb_freight', 'column', 'paixu'
- go
-
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '�Ƿ�ʹ��{0/�ǣ�1/��}',
- 'user', @CurrentUser, 'table', 'tb_freight', 'column', 'state'
- go
-
- declare @CurrentUser sysname
- select @CurrentUser = user_name()
- execute sp_addextendedproperty 'MS_Description',
- '��������',
- 'user', @CurrentUser, 'table', 'tb_freight', 'column', 'add_time'
- go
-
|