Edit C:\Users\Administrator\Desktop\SQL20150830-20160530\15.09.01.24_0003_Pub_JYQBeiKe_Add.sql
/****** Object: Table [dbo].[Pub_JYQBeiKe] Script Date: 09/02/2015 15:00:44 ******/ SET ANSI_NULLS ON SET QUOTED_IDENTIFIER ON IF not EXISTS (SELECT * FROM sysobjects WHERE name = 'Pub_JYQBeiKe') Begin CREATE TABLE [dbo].[Pub_JYQBeiKe]( [Guid] [nvarchar](32) NOT NULL, [Version] [int] NOT NULL, [SortNumber] [int] NOT NULL, [Status] [int] NOT NULL, [JiaoYanQuanGuid] [nvarchar](32) NOT NULL, [CategoryGuid] [nvarchar](32) NOT NULL, [GradeGuid] [nvarchar](32) NULL, [PressGuid] [nvarchar](32) NULL, [LessonGuid] [nvarchar](32) NOT NULL, [UserGuid] [nvarchar](32) NOT NULL, [Compere] [nvarchar](200) NULL, [Name] [nvarchar](256) NOT NULL, [Cover] [nvarchar](256) NULL, [Ad] [nvarchar](256) NULL, [BeginTime] [datetime] NOT NULL, [EndTime] [datetime] NOT NULL, [Description] [nvarchar](2000) NULL, [CreateTime] [datetime] NOT NULL, [Examine] [int] NOT NULL, [VideoView] [int] NULL, [CommentCount] [int] NULL, [CollectCount] [int] NULL, CONSTRAINT [PK_PUB_JYQBEIKE] 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_JYQBeiKe', @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_JYQBeiKe', @level2type=N'COLUMN',@level2name=N'Version' EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'??? type:text default:0 required:true required_msg:??????? required_default:null regex:num1 regex_msg:??????? tooltip:????????????????' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Pub_JYQBeiKe', @level2type=N'COLUMN',@level2name=N'SortNumber' EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'???? type:select enum:{??=0,??=1,??=2,??=3} required:true required_msg:??????? required_default:null' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Pub_JYQBeiKe', @level2type=N'COLUMN',@level2name=N'Status' EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'????? type:selectbox fk_table:Pub_JiaoYanQuan fk_key:Guid fk_name:Name required:true required_msg:???????? required_default:null' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Pub_JYQBeiKe', @level2type=N'COLUMN',@level2name=N'JiaoYanQuanGuid' EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'???? type:selectbox fk_table:Pub_Category fk_key:Guid fk_name:Name required:true required_msg:??????? required_default:null' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Pub_JYQBeiKe', @level2type=N'COLUMN',@level2name=N'CategoryGuid' EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'???? type:selectbox fk_table:Pub_Grade' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Pub_JYQBeiKe', @level2type=N'COLUMN',@level2name=N'GradeGuid' EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'????? type:selectbox fk_table:Pub_Press ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Pub_JYQBeiKe', @level2type=N'COLUMN',@level2name=N'PressGuid' EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'????? type:selectbox fk_table:Pub_Lesson' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Pub_JYQBeiKe', @level2type=N'COLUMN',@level2name=N'LessonGuid' EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'???? type:selectbox fk_table:Pub_User fk_key:Guid fk_name:Name required:true required_msg:??????? required_default:null' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Pub_JYQBeiKe', @level2type=N'COLUMN',@level2name=N'UserGuid' EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'????? type:text' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Pub_JYQBeiKe', @level2type=N'COLUMN',@level2name=N'Compere' EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'?????? type:text required:true required_msg:????????? required_default:null' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Pub_JYQBeiKe', @level2type=N'COLUMN',@level2name=N'Name' EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'?? type:image' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Pub_JYQBeiKe', @level2type=N'COLUMN',@level2name=N'Cover' EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'??? type:image' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Pub_JYQBeiKe', @level2type=N'COLUMN',@level2name=N'Ad' EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'???? type:date required:true required_msg:??????? required_default:null regex:datetime regex_msg:?????????' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Pub_JYQBeiKe', @level2type=N'COLUMN',@level2name=N'BeginTime' EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'???? type:date required:true required_msg:??????? required_default:null regex:datetime regex_msg:?????????' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Pub_JYQBeiKe', @level2type=N'COLUMN',@level2name=N'EndTime' EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'?? type:textarea css:width400 height100' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Pub_JYQBeiKe', @level2type=N'COLUMN',@level2name=N'Description' EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'???? type:datetime required:true required_msg:??????? required_default:null regex:datetime regex_msg:?????????' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Pub_JYQBeiKe', @level2type=N'COLUMN',@level2name=N'CreateTime' EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'???? type:radio enum:{????=0,????=1,?????=2} required:true required_msg:??????? required_default:null' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Pub_JYQBeiKe', @level2type=N'COLUMN',@level2name=N'Examine' 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_JYQBeiKe', @level2type=N'COLUMN',@level2name=N'VideoView' 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_JYQBeiKe', @level2type=N'COLUMN',@level2name=N'CommentCount' 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_JYQBeiKe', @level2type=N'COLUMN',@level2name=N'CollectCount' EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'???? ref_table:Pub_JYQBKXieBeiUser|Delete|SortNumber ASC,Pub_JYQBKPlan|Delete|SortNumber ASC,Pub_JYQBKPlanSelf|Delete|SortNumber ASC,Pub_JYQBKSummary|Delete autosort:SortNumber ASC fk_name:Pub_User.TrueName,Name' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Pub_JYQBeiKe' END
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de