序号 | 列名 | 数据类型 | 长度 | 小数位 | 标识 | 主键 | 外键 | 允许空 | 默认值 | 说明 |
1 | Flow | int | 4 | 0 | 是 | 否 | 流水号 | |||
2 | Code | varchar | 50 | 0 | 是 | 否 | 企业编号 | |||
3 | Bank_Open | varchar | 50 | 0 | 是 | 开户银行 | ||||
4 | Bank_Code | varchar | 50 | 0 | 是 | 银行帐号 | ||||
5 | Tax_Code | varchar | 50 | 0 | 是 | 税号 | ||||
6 | Co_Status | nvarchar | 50 | 0 | 是 | 行业地位 | ||||
7 | Co_Size | nvarchar | 50 | 0 | 是 | 公司规模 | ||||
8 | Co_Management | nvarchar | 50 | 0 | 是 | 经营状态 | ||||
9 | Reg_Capital | money | 8 | 4 | 是 | 注册资本 | ||||
10 | Sales | money | 8 | 4 | 是 | 年销售额 | ||||
11 | Operation_Bound | nvarchar | 50 | 0 | 是 | 业务范围 | ||||
12 | Homepage | nvarchar | 50 | 0 | 是 | 网址 | ||||
13 | Message_Address | nvarchar | 50 | 0 | 是 | 通讯地址 | ||||
14 | Phone | varchar | 50 | 0 | 是 | 联系电话 | ||||
15 | Fax_phone | varchar | 50 | 0 | 是 | 传真号码 | ||||
16 | Add_Date | datetime | 8 | 3 | 是 | 创建时间 | ||||
17 | ZipCodeW | nvarchar | 255 | 0 | 是 | 邮政编码 | ||||
18 | country | nvarchar | 255 | 0 | 是 | 国家 | ||||
19 | province | nvarchar | 255 | 0 | 是 | 省 | ||||
20 | city | nvarchar | 255 | 0 | 是 | 市 |
企业客户信息表
GO
CREATE TABLE [dbo].[ZL_Client_Enterprise](
[Flow] [int] IDENTITY(1,1) NOT NULL,
[Code] [varchar](50) COLLATE Chinese_PRC_CI_AS NOT NULL,
[Bank_Open] [varchar](50) COLLATE Chinese_PRC_CI_AS NULL,
[Bank_Code] [varchar](50) COLLATE Chinese_PRC_CI_AS NULL,
[Tax_Code] [varchar](50) COLLATE Chinese_PRC_CI_AS NULL,
[Co_Status] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
[Co_Size] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
[Co_Management] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
[Reg_Capital] [money] NULL,
[Sales] [money] NULL,
[Operation_Bound] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
[Homepage] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
[Message_Address] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
[Phone] [varchar](50) COLLATE Chinese_PRC_CI_AS NULL,
[Fax_phone] [varchar](50) COLLATE Chinese_PRC_CI_AS NULL,
[Add_Date] [dateTime] NULL,
[ZipCodeW] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
[country] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
[province] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
[city] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
CONSTRAINT [PK_ZL_Client_Enterprise] PRIMARY KEY CLUSTERED
([Code] ASC
) ON [PRIMARY]
) ON [PRIMARY]
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'企业编号' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Enterprise', @level2type=N'COLUMN', @level2name=N'Code'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'开户银行' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Enterprise', @level2type=N'COLUMN', @level2name=N'Bank_Open'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'银行帐号' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Enterprise', @level2type=N'COLUMN', @level2name=N'Bank_Code'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'税号' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Enterprise', @level2type=N'COLUMN', @level2name=N'Tax_Code'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'行业地位' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Enterprise', @level2type=N'COLUMN', @level2name=N'Co_Status'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'公司规模' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Enterprise', @level2type=N'COLUMN', @level2name=N'Co_Size'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'经营状态' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Enterprise', @level2type=N'COLUMN', @level2name=N'Co_Management'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'注册资本' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Enterprise', @level2type=N'COLUMN', @level2name=N'Reg_Capital'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'年销售额' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Enterprise', @level2type=N'COLUMN', @level2name=N'Sales'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'业务范围' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Enterprise', @level2type=N'COLUMN', @level2name=N'Operation_Bound'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'网址' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Enterprise', @level2type=N'COLUMN', @level2name=N'Homepage'
detele from ZL_Client_Enterprise
drop table ZL_Client_Enterprise
TRUNCATE table ZL_Client_Enterprise