序号 | 列名 | 数据类型 | 长度 | 小数位 | 标识 | 主键 | 外键 | 允许空 | 默认值 | 说明 |
1 | Flow | int | 4 | 0 | 是 | 否 | 流水号 | |||
2 | Code | varchar | 50 | 0 | 是 | 否 | 流水号 | |||
3 | P_name | nvarchar | 50 | 0 | 是 | 客户姓名 | ||||
4 | P_alias | nvarchar | 50 | 0 | 是 | 助记名称 | ||||
5 | Client_Upper | nvarchar | 50 | 0 | 是 | 上级客户 | ||||
6 | Add_Date | datetime | 8 | 3 | 是 | 添加时间 | ||||
7 | Title | nvarchar | 1000 | 0 | 是 | 标题 | ||||
8 | Client_Type | nvarchar | 50 | 0 | 是 | 客户类型 | ||||
9 | FPManID | int | 4 | 0 | 是 | 跟进人 | ||||
10 | ItemID | int | 4 | 0 | 是 | 模型内容id |
基本客户表
GO
CREATE TABLE [dbo].[ZL_Client_Basic](
[Flow] [int] IDENTITY(1,1) NOT NULL,
[Code] [varchar](50) NOT NULL,
[P_name] [nvarchar](50) NULL,
[P_alias] [nvarchar](50) NULL,
[Client_Upper] [nvarchar](50) NULL,
[Add_Date] [datetime] NULL,
[Title] [nvarchar](1000) NULL,
[Client_Type] [nvarchar](50) NULL,
[FPManID] [int] NULL,
[ItemID] [int] NULL,
CONSTRAINT [PK_ZL_Client_Basic] PRIMARY KEY CLUSTERED
([Code] 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_Client_Basic
drop table ZL_Client_Basic
TRUNCATE table ZL_Client_Basic