/****** Object: Table [dbo].[Pub_JYQPV] Script Date: 09/02/2015 15:07:11 ******/ SET ANSI_NULLS ON SET QUOTED_IDENTIFIER ON IF not EXISTS (SELECT * FROM sysobjects WHERE name = 'Pub_JYQPV') Begin CREATE TABLE [dbo].[Pub_JYQPV]( [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, [WeekCollectCount] [int] NOT NULL, [MoonCollectCount] [int] NOT NULL, [YearCollectCount] [int] NOT NULL, [AllCollectCount] [int] NOT NULL, CONSTRAINT [PK_PUB_JYQPV] 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_JYQPV', @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_JYQPV', @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_JYQPV', @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_JYQPV', @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_JYQPV', @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_JYQPV', @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_JYQPV', @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_JYQPV', @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_JYQPV', @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_JYQPV', @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_JYQPV', @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_JYQPV', @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_JYQPV', @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_JYQPV', @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_JYQPV', @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_JYQPV', @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_JYQPV', @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_JYQPV' END