SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[Site_Config](
	[id] [int] IDENTITY(1,1) NOT NULL,
	[name] [nvarchar](300) COLLATE Chinese_PRC_CI_AS NOT NULL CONSTRAINT [DF_SiteConfig_name]  DEFAULT (''),
	[logo] [nvarchar](80) COLLATE Chinese_PRC_CI_AS NOT NULL CONSTRAINT [DF_SiteConfig_logo]  DEFAULT (''),
	[keyword] [nvarchar](300) COLLATE Chinese_PRC_CI_AS NOT NULL CONSTRAINT [DF_SiteConfig_keyword]  DEFAULT (''),
	[description] [nvarchar](300) COLLATE Chinese_PRC_CI_AS NOT NULL CONSTRAINT [DF_SiteConfig_description]  DEFAULT (''),
	[notice] [text] COLLATE Chinese_PRC_CI_AS NOT NULL CONSTRAINT [DF_Site_Config_notice]  DEFAULT (''),
	[copyright] [text] COLLATE Chinese_PRC_CI_AS NOT NULL CONSTRAINT [DF_SiteConfig_copyright]  DEFAULT (''),
	[icp] [nvarchar](200) COLLATE Chinese_PRC_CI_AS NOT NULL CONSTRAINT [DF_Site_Config_icp]  DEFAULT (''),
	[statiscode] [nvarchar](1000) COLLATE Chinese_PRC_CI_AS NOT NULL CONSTRAINT [DF_Site_Config_statiscode]  DEFAULT (''),
	[template] [nvarchar](80) COLLATE Chinese_PRC_CI_AS NOT NULL CONSTRAINT [DF_Site_Config_template]  DEFAULT (''),
	[suffix] [nvarchar](20) COLLATE Chinese_PRC_CI_AS NOT NULL CONSTRAINT [DF_Site_Config_suffix]  DEFAULT (''),
	[isvisit] [bit] NOT NULL,
 CONSTRAINT [PK_SiteConfig] 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'Site_Config', @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'Site_Config', @level2type=N'COLUMN', @level2name=N'name'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'站点配置(站点logo)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Site_Config', @level2type=N'COLUMN', @level2name=N'logo'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'站点配置(站点seo关键词)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Site_Config', @level2type=N'COLUMN', @level2name=N'keyword'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'站点配置(站点seo描述说明)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Site_Config', @level2type=N'COLUMN', @level2name=N'description'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'站点配置(站点公告)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Site_Config', @level2type=N'COLUMN', @level2name=N'notice'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'站点配置(底部版权描述说明)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Site_Config', @level2type=N'COLUMN', @level2name=N'copyright'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'站点配置(底部版权ICP备案号)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Site_Config', @level2type=N'COLUMN', @level2name=N'icp'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'站点配置(底部版权第三方统计代码)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Site_Config', @level2type=N'COLUMN', @level2name=N'statiscode'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'站点配置(模板名称)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Site_Config', @level2type=N'COLUMN', @level2name=N'template'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'站点配置(伪静态后缀)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Site_Config', @level2type=N'COLUMN', @level2name=N'suffix'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'站点配置(是否开启站内统计功能)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Site_Config', @level2type=N'COLUMN', @level2name=N'isvisit'

insert into Site_Config ([name],keyword,description,copyright,icp,template,suffix,isvisit)values('EoyooCMS','EoyooCMS,开源asp.net cms,免费建站,自助建站,企业建站,建站系统,建站软件,企业CMS, 内容管理系统
','EoyooCMS是一款集合简单、灵活、安全、开源几大特点的开源.NET内容管理系统， 能够以最低成本，最少的人力投入在最少的时间里搭建一个功能齐全、性能优越、易于维护的网站。','copy; 2008-2012 EoyooCMS 版权所有','无','Default','.aspx','True')