序号 | 列名 | 数据类型 | 长度 | 小数位 | 标识 | 主键 | 外键 | 允许空 | 默认值 | 说明 |
1 | ID | int | 4 | 0 | 是 | 是 | 否 | |||
2 | ProName | nvarchar | 300 | 0 | 是 | 项目名称 | ||||
3 | ZType | int | 4 | 0 | 是 | 项目类型 | ||||
4 | ProPrice | money | 8 | 4 | 是 | 项目价格 | ||||
5 | ProManageer | int | 4 | 0 | 是 | 项目经理 | ||||
6 | TecDirector | nvarchar | 50 | 0 | 是 | 技术负责人 | ||||
7 | CustomerID | int | 4 | 0 | 是 | 客户ID | ||||
8 | CustomerCompany | nvarchar | 50 | 0 | 是 | 客户所在单位 | ||||
9 | CustomerTele | nvarchar | 50 | 0 | 是 | 客户电话 | ||||
10 | CustomerMobile | nvarchar | 50 | 0 | 是 | 客户手机 | ||||
11 | CustomerQQ | nvarchar | 50 | 0 | 是 | 客户QQ | ||||
12 | CustomerMSN | nvarchar | 50 | 0 | 是 | 客户MSN | ||||
13 | CustomerAddress | nvarchar | 200 | 0 | 是 | 客户联系地址 | ||||
14 | CustomerEmail | nvarchar | 100 | 0 | 是 | 客户电子邮箱 | ||||
15 | Requirements | nvarchar | 2000 | 0 | 是 | 项目需求 | ||||
16 | ZStatus | int | 4 | 0 | 是 | 项目状态 | ||||
17 | CDate | datetime | 8 | 3 | 是 | 创建时间 | ||||
18 | Remind | nvarchar | 200 | 0 | 是 | 备注 |
项目详情表
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
TRUNCATE table ZL_Pro_Project