表名:ZL_Order_Exp












序号列名数据类型长度小数位标识主键外键允许空默认值说明
1IDint40   
2OrderIDint40    订单编号
3ExpCompnvarchar5000    快递公司名称
4CompTypenvarchar5000    快递公司类型
5ExpNonvarchar5000    快递单号
6ExpStatusnvarchar5000    快递状态(同于Order中)
7ExpRemindnvarchar5000    快递备注
8SendDatenvarchar5000    发货时间
9SignDatenvarchar5000    快递单签收时间
10BackDatenvarchar5000    退货时间
11UserRemindnvarchar5000    用户备注
12AdminRemindnvarchar5000    管理员备注
13UserIDint40     
14CDatedatetime83     
15APILinknvarchar5000    快递链接

简要说明:

快递公司表

GO
CREATE TABLE [dbo].[ZL_Order_Exp](
[ID] [int] IDENTITY(1,1) NOT NULL,
[OrderID] [int] NULL,
[ExpComp] [nvarchar](500) NULL,
[CompType] [nvarchar](500) NULL,
[ExpNo] [nvarchar](500) NULL,
[ExpStatus] [nvarchar](500) NULL,
[ExpRemind] [nvarchar](500) NULL,
[SendDate] [nvarchar](500) NULL,
[SignDate] [nvarchar](500) NULL,
[BackDate] [nvarchar](500) NULL,
[UserRemind] [nvarchar](500) NULL,
[AdminRemind] [nvarchar](500) NULL,
[UserID] [int] NULL,
[CDate] [datetime] NULL,
[APILink] [nvarchar](500) NULL,
CONSTRAINT [PK_ZL_OrderDelivery] PRIMARY KEY CLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

--注意:将清空全表数据

detele from ZL_Order_Exp

--注意:将删除整个表

drop table ZL_Order_Exp

--注意:清空且复位表ID序列为初始值

TRUNCATE table ZL_Order_Exp