序号 | 列名 | 数据类型 | 长度 | 小数位 | 标识 | 主键 | 外键 | 允许空 | 默认值 | 说明 |
1 | ID | int | 4 | 0 | 是 | 是 | 否 | |||
2 | OrderNo | nvarchar | 400 | 0 | 是 | 相关订单编号 | ||||
3 | Domain | nvarchar | 500 | 0 | 是 | 绑定域名 | ||||
4 | ProInfo | nvarchar | 4000 | 0 | 是 | 商品信息 | ||||
5 | STime | datetime | 8 | 3 | 是 | 起始时间 | ||||
6 | ETime | datetime | 8 | 3 | 是 | 到期时间 | ||||
7 | ZStatus | int | 4 | 0 | 是 | 订单状态预留 | ||||
8 | ZType | int | 4 | 0 | 是 | 订单类型 | ||||
9 | Remind | nvarchar | 500 | 0 | 是 | 备注信息 | ||||
10 | AdminName | nvarchar | 500 | 0 | 是 | 管理名称 | ||||
11 | AdminPwd | nvarchar | 500 | 0 | 是 | 管理密码 | ||||
12 | ProID | int | 4 | 0 | 是 | 所购商品ID,续费时读取 |
IDC商品订单表
GO
CREATE TABLE [dbo].[ZL_Order_IDC](
[ID] [int] IDENTITY(1,1) NOT NULL,
[OrderNo] [nvarchar](400) NULL,
[Domain] [nvarchar](500) NULL,
[ProInfo] [nvarchar](4000) NULL,
[STime] [datetime] NULL,
[ETime] [datetime] NULL,
[ZStatus] [int] NULL,
[ZType] [int] NULL,
[Remind] [nvarchar](500) NULL,
[AdminName] [nvarchar](500) NULL,
[AdminPwd] [nvarchar](500) NULL,
[ProID] [int] NULL,
CONSTRAINT [PK_ZL_Order_IDC] 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_IDC
drop table ZL_Order_IDC
TRUNCATE table ZL_Order_IDC