序号 | 列名 | 数据类型 | 长度 | 小数位 | 标识 | 主键 | 外键 | 允许空 | 默认值 | 说明 |
1 | ID | int | 4 | 0 | 是 | 是 | 否 | |||
2 | Domain | nvarchar | 50 | 0 | 是 | 域名 | ||||
3 | IP | nvarchar | 50 | 0 | 是 | IP地址 | ||||
4 | MX | nvarchar | 50 | 0 | 是 | 邮件域名 | ||||
5 | Max_sub_domain | nvarchar | 50 | 0 | 是 | 最大子域名数 | ||||
6 | Max_url_forward | nvarchar | 50 | 0 | 是 | 最大跳转数 | ||||
7 | State | int | 4 | 0 | 是 | 1为启用0为不启用 | ||||
8 | Site_ID | int | 4 | 0 | 是 | 站点ID | ||||
9 | SiteProperty_ID | int | 4 | 0 | 是 | 站点属性 | ||||
10 | User_ID | int | 4 | 0 | 是 | 用户ID | ||||
11 | Server_ID | int | 4 | 0 | 是 | 所属服务器ID | ||||
12 | Closed_By | int | 4 | 0 | 是 | 是否被关闭 | ||||
13 | MultiByte | int | 4 | 0 | 是 | DNS信息 | ||||
14 | MultiByte_Domain | int | 4 | 0 | 是 | DNS表 |
IDC表
GO
CREATE TABLE [dbo].[ZL_IDC_DNSTable] (
[ID] [int] IDENTITY (1, 1) NOT NULL,
[Domain] [nvarchar] (50) NULL,
[IP] [nvarchar] (50) NULL,
[MX] [nvarchar] (50) NULL,
[Max_sub_domain] [nvarchar] (50) NULL,
[Max_url_forward] [nvarchar] (50) NULL,
[State] [int] NULL,
[Site_ID] [int] NULL,
[SiteProperty_ID] [int] NULL,
[User_ID] [int] NULL,
[Server_ID] [int] NULL,
[Closed_By] [int] NULL,
[MultiByte] [int] NULL,
[MultiByte_Domain] [int] NULL)
ALTER TABLE [ZL_IDC_DNSTable] WITH NOCHECK ADD CONSTRAINT [PK_ZL_IDC_DNSTable] PRIMARY KEY NONCLUSTERED ( [ID] )
detele from ZL_IDC_DNSTable
drop table ZL_IDC_DNSTable
TRUNCATE table ZL_IDC_DNSTable