序号 | 列名 | 数据类型 | 长度 | 小数位 | 标识 | 主键 | 外键 | 允许空 | 默认值 | 说明 |
1 | ID | int | 4 | 0 | 是 | 是 | 否 | |||
2 | OrderID | int | 4 | 0 | 是 | |||||
3 | CDate | datetime | 8 | 3 | 是 | |||||
4 | UserRemind | nvarchar | 500 | 0 | 是 | 用户备注 | ||||
5 | AdminRemind | nvarchar | 500 | 0 | 是 | 管理员备注 | ||||
6 | OrderBak | ntext | 16 | 0 | 是 | 订单备份 | ||||
7 | UserID | int | 4 | 0 | 是 | |||||
8 | AdminID | int | 4 | 0 | 是 | |||||
9 | ZStatus | int | 4 | 0 | 是 |
订单退货申请
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
TRUNCATE table ZL_Order_Back