You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

96 lines
3.1 KiB

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