表名:ZL_IDC_DomainPrice












序号列名数据类型长度小数位标识主键外键允许空默认值说明
1IDint40   
2DomTypeint40    商品类型,域名还是其他
3Statusint40   1 
4IFSupplierint40    0:未选定,1:新网,2:万网
5CreateDatedatetime83   getdate创建时间
6DomPricedecimal92    域名价格
7DomNamenvarchar500    域名名称
8ProDetailnvarchar2000    商品详情

简要说明:

IDC价格表

GO
CREATE TABLE [dbo].[ZL_IDC_DomainPrice] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[DomType] [int]  NULL,
[Status] [int]  NULL DEFAULT (1),
[IFSupplier] [int]  NULL,
[CreateDate] [datetime]  NULL DEFAULT (getdate()),
[DomPrice] [decimal]  (18,2) NOT NULL,
[DomName] [nvarchar]  (50) NOT NULL,
[ProDetail] [nvarchar]  (200) NULL)
ALTER TABLE [ZL_IDC_DomainPrice] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_IDC_DomainPrice] PRIMARY KEY  NONCLUSTERED ( [ID] )

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

detele from ZL_IDC_DomainPrice

--注意:将删除整个表

drop table ZL_IDC_DomainPrice

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

TRUNCATE table ZL_IDC_DomainPrice