表名:ZL_IDC_DNSTable












序号列名数据类型长度小数位标识主键外键允许空默认值说明
1IDint40   
2Domainnvarchar500    域名
3IPnvarchar500    IP地址
4MXnvarchar500    邮件域名
5Max_sub_domainnvarchar500    最大子域名数
6Max_url_forwardnvarchar500    最大跳转数
7Stateint40    1为启用0为不启用
8Site_IDint40    站点ID
9SiteProperty_IDint40    站点属性
10User_IDint40    用户ID
11Server_IDint40    所属服务器ID
12Closed_Byint40    是否被关闭
13MultiByteint40    DNS信息
14MultiByte_Domainint40    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

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

TRUNCATE table ZL_IDC_DNSTable