SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[Company](
	[id] [int] IDENTITY(1,1) NOT NULL,
	[name] [nvarchar](80) COLLATE Chinese_PRC_CI_AS NOT NULL CONSTRAINT [DF_Company_name]  DEFAULT (''),
	[tel] [nvarchar](30) COLLATE Chinese_PRC_CI_AS NOT NULL CONSTRAINT [DF_Company_tel]  DEFAULT (''),
	[fox] [nvarchar](30) COLLATE Chinese_PRC_CI_AS NOT NULL CONSTRAINT [DF_Company_fox]  DEFAULT (''),
	[email] [nvarchar](80) COLLATE Chinese_PRC_CI_AS NOT NULL CONSTRAINT [DF_Company_email]  DEFAULT (''),
	[seat] [nvarchar](20) COLLATE Chinese_PRC_CI_AS NOT NULL CONSTRAINT [DF_Company_seat]  DEFAULT (''),
	[address] [nvarchar](200) COLLATE Chinese_PRC_CI_AS NOT NULL CONSTRAINT [DF_Company_address]  DEFAULT (''),
	[industry] [nvarchar](20) COLLATE Chinese_PRC_CI_AS NOT NULL CONSTRAINT [DF_Company_industry]  DEFAULT (''),
	[info] [text] COLLATE Chinese_PRC_CI_AS NOT NULL CONSTRAINT [DF_Company_info]  DEFAULT (''),
	[deal] [text] COLLATE Chinese_PRC_CI_AS NOT NULL CONSTRAINT [DF_Company_deal]  DEFAULT (''),
 CONSTRAINT [PK_Company] PRIMARY KEY CLUSTERED 
(
	[id] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'公司信息-记录表(主键)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Company', @level2type=N'COLUMN', @level2name=N'id'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'公司信息-记录表(公司名称)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Company', @level2type=N'COLUMN', @level2name=N'name'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'公司信息-记录表(公司电话)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Company', @level2type=N'COLUMN', @level2name=N'tel'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'公司信息-记录表(公司传真)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Company', @level2type=N'COLUMN', @level2name=N'fox'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'公司信息-记录表(公司email)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Company', @level2type=N'COLUMN', @level2name=N'email'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'公司信息-记录表(公司所在地)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Company', @level2type=N'COLUMN', @level2name=N'seat'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'公司信息-记录表(公司地址)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Company', @level2type=N'COLUMN', @level2name=N'address'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'公司信息-记录表(公司所属行业)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Company', @level2type=N'COLUMN', @level2name=N'industry'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'公司信息-记录表(公司简短介绍)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Company', @level2type=N'COLUMN', @level2name=N'info'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'公司信息-记录表(公司经营范围)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Company', @level2type=N'COLUMN', @level2name=N'deal'
