表名:ZL_Order_Back












序号列名数据类型长度小数位标识主键外键允许空默认值说明
1IDint40   
2OrderIDint40     
3CDatedatetime83     
4UserRemindnvarchar5000    用户备注
5AdminRemindnvarchar5000    管理员备注
6OrderBakntext160    订单备份
7UserIDint40     
8AdminIDint40     
9ZStatusint40     

简要说明:

订单退货申请


GO
CREATE TABLE [dbo].[ZL_Order_Back](
[ID] [int] IDENTITY(1,1) NOT NULL,
[OrderID] [int] NULL,
[CDate] [datetime] NULL,
[UserRemind] [nvarchar](500) NULL,
[AdminRemind] [nvarchar](500) NULL,
[OrderBak] [ntext] NULL,
[UserID] [int] NULL,
[AdminID] [int] NULL,
[ZStatus] [int] NULL,
[StoreAdminID] [int] NULL,
CONSTRAINT [PK_ZL_Order_Back] 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] TEXTIMAGE_ON [PRIMARY]

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

detele from ZL_Order_Back

--注意:将删除整个表

drop table ZL_Order_Back

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

TRUNCATE table ZL_Order_Back