表名:ZL_Pro_Project












序号列名数据类型长度小数位标识主键外键允许空默认值说明
1IDint40   
2ProNamenvarchar3000    项目名称
3ZTypeint40    项目类型
4ProPricemoney84    项目价格
5ProManageerint40    项目经理
6TecDirectornvarchar500    技术负责人
7CustomerIDint40    客户ID
8CustomerCompanynvarchar500    客户所在单位
9CustomerTelenvarchar500    客户电话
10CustomerMobilenvarchar500    客户手机
11CustomerQQnvarchar500    客户QQ
12CustomerMSNnvarchar500    客户MSN
13CustomerAddressnvarchar2000    客户联系地址
14CustomerEmailnvarchar1000    客户电子邮箱
15Requirementsnvarchar20000    项目需求
16ZStatusint40    项目状态
17CDatedatetime83    创建时间
18Remindnvarchar2000    备注

简要说明:

项目详情表

GO
CREATE TABLE [dbo].[ZL_Pro_Project](
[ID] [int] IDENTITY(1,1) NOT NULL,
[ProName] [nvarchar](300) NULL,
[ZType] [int] NULL,
[ProPrice] [money] NULL,
[ProManageer] [int] NULL,
[TecDirector] [nvarchar](50) NULL,
[CustomerID] [int] NULL,
[CustomerCompany] [nvarchar](50) NULL,
[CustomerTele] [nvarchar](50) NULL,
[CustomerMobile] [nvarchar](50) NULL,
[CustomerQQ] [nvarchar](50) NULL,
[CustomerMSN] [nvarchar](50) NULL,
[CustomerAddress] [nvarchar](200) NULL,
[CustomerEmail] [nvarchar](100) NULL,
[Requirements] [nvarchar](2000) NULL,
[ZStatus] [int] NULL,
[CDate] [datetime] NULL,
[Remind] [nvarchar](200) NULL,
CONSTRAINT [PK_ZL_Pro_Project] 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_Pro_Project

--注意:将删除整个表

drop table ZL_Pro_Project

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

TRUNCATE table ZL_Pro_Project