/****** Object: Table [dbo].[Pub_JYQBeiKePV] Script Date: 09/02/2015 15:01:30 ******/ SET ANSI_NULLS ON SET QUOTED_IDENTIFIER ON IF not EXISTS (SELECT * FROM sysobjects WHERE name = 'Pub_JYQBeiKePV') Begin CREATE TABLE [dbo].[Pub_JYQBeiKePV]( [Guid] [nvarchar](32) NOT NULL, [Version] [int] NOT NULL, [WeekViewCount] [int] NOT NULL, [MoonViewCount] [int] NOT NULL, [DayViewCount] [int] NOT NULL, [YearViewCount] [int] NOT NULL, [AllViewCount] [int] NOT NULL, [DayCommentCount] [int] NOT NULL, [WeekCommentCount] [int] NOT NULL, [MoonCommentCount] [int] NOT NULL, [YearCommentCount] [int] NOT NULL, [AllCommentCount] [int] NOT NULL, [DayCollectCount] [int] NOT NULL, [MoonCollectCount] [int] NOT NULL, [WeekCollectCount] [int] NOT NULL, [YearCollectCount] [int] NOT NULL, [AllCollectCount] [int] NOT NULL, CONSTRAINT [PK_PUB_JYQBEIKEPV] PRIMARY KEY CLUSTERED ( [Guid] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Guid type:text primary:true tooltip:记录主键' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Pub_JYQBeiKePV', @level2type=N'COLUMN',@level2name=N'Guid' EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'版本号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Pub_JYQBeiKePV', @level2type=N'COLUMN',@level2name=N'Version' EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'周播放数 type:text forbidpost:true' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Pub_JYQBeiKePV', @level2type=N'COLUMN',@level2name=N'WeekViewCount' EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'月播放数 type:text forbidpost:true' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Pub_JYQBeiKePV', @level2type=N'COLUMN',@level2name=N'MoonViewCount' EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'日播放数 type:text forbidpost:true' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Pub_JYQBeiKePV', @level2type=N'COLUMN',@level2name=N'DayViewCount' EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'年播放数 type:text forbidpost:true' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Pub_JYQBeiKePV', @level2type=N'COLUMN',@level2name=N'YearViewCount' EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'总播放数 type:text forbidpost:true' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Pub_JYQBeiKePV', @level2type=N'COLUMN',@level2name=N'AllViewCount' EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'日评论数 type:text forbidpost:true' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Pub_JYQBeiKePV', @level2type=N'COLUMN',@level2name=N'DayCommentCount' EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'周评论数 type:text forbidpost:true' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Pub_JYQBeiKePV', @level2type=N'COLUMN',@level2name=N'WeekCommentCount' EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'月评论数 type:text forbidpost:true' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Pub_JYQBeiKePV', @level2type=N'COLUMN',@level2name=N'MoonCommentCount' EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'年评论数 type:text forbidpost:true' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Pub_JYQBeiKePV', @level2type=N'COLUMN',@level2name=N'YearCommentCount' EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'总评论数 type:text forbidpost:true' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Pub_JYQBeiKePV', @level2type=N'COLUMN',@level2name=N'AllCommentCount' EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'日收藏数 type:text forbidpost:true' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Pub_JYQBeiKePV', @level2type=N'COLUMN',@level2name=N'DayCollectCount' EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'月收藏数 type:text forbidpost:true' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Pub_JYQBeiKePV', @level2type=N'COLUMN',@level2name=N'MoonCollectCount' EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'周收藏数 type:text forbidpost:true' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Pub_JYQBeiKePV', @level2type=N'COLUMN',@level2name=N'WeekCollectCount' EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'年收藏数 type:text forbidpost:true' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Pub_JYQBeiKePV', @level2type=N'COLUMN',@level2name=N'YearCollectCount' EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'总收藏数 type:text forbidpost:true' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Pub_JYQBeiKePV', @level2type=N'COLUMN',@level2name=N'AllCollectCount' EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'教研圈备课活动数据统计 fk_name:Version' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Pub_JYQBeiKePV' END