/****** Object:  Table [dbo].[KS_BBSTopic]    Script Date: 09/07/2018 17:58:06 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [KS_BBSTopic](
	[TopicId] [int] IDENTITY(1,1) NOT NULL,
	[boardId] [int] NULL,
	[UserId] [int] NULL,
	[UserName] [nvarchar](50) NULL,
	[UserIP] [nvarchar](50) NULL,
	[Content] [nvarchar](4000) NULL,
	[PostTable] [nvarchar](50) NULL,
	[AddDate] [datetime] NULL,
	[LastPostTime] [datetime] NULL,
	[verify] [tinyint] NULL,
	[IsTop] [tinyint] NULL,
	[Hits] [int] NULL,
	[PostNum] [int] NULL,
	[Digg] [int] NULL,
	[IsBest] [int] NULL,
	[KeyTags] [nvarchar](255) NULL,
	[Annex] [nvarchar](1000) NULL,
	[ReplyText] [nvarchar](4000) NULL,
 CONSTRAINT [PK_KS_BBSTopic] PRIMARY KEY CLUSTERED 
(
	[TopicId] ASC
) ON [PRIMARY]
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'主题ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSTopic', @level2type=N'COLUMN',@level2name=N'TopicId'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'版面ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSTopic', @level2type=N'COLUMN',@level2name=N'boardId'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSTopic', @level2type=N'COLUMN',@level2name=N'UserId'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户名' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSTopic', @level2type=N'COLUMN',@level2name=N'UserName'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSTopic', @level2type=N'COLUMN',@level2name=N'UserIP'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'内容' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSTopic', @level2type=N'COLUMN',@level2name=N'Content'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'发送关联表' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSTopic', @level2type=N'COLUMN',@level2name=N'PostTable'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'添加日期' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSTopic', @level2type=N'COLUMN',@level2name=N'AddDate'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'最后发送时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSTopic', @level2type=N'COLUMN',@level2name=N'LastPostTime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'是否审核' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSTopic', @level2type=N'COLUMN',@level2name=N'verify'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'置顶' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSTopic', @level2type=N'COLUMN',@level2name=N'IsTop'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'点击量' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSTopic', @level2type=N'COLUMN',@level2name=N'Hits'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'发送数量' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSTopic', @level2type=N'COLUMN',@level2name=N'PostNum'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'被顶或加分等操作的次数' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSTopic', @level2type=N'COLUMN',@level2name=N'Digg'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'最佳' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSTopic', @level2type=N'COLUMN',@level2name=N'IsBest'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'关键字' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSTopic', @level2type=N'COLUMN',@level2name=N'KeyTags'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'附加信息' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSTopic', @level2type=N'COLUMN',@level2name=N'Annex'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'回复' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSTopic', @level2type=N'COLUMN',@level2name=N'ReplyText'
GO
SET IDENTITY_INSERT [KS_BBSTopic] ON
INSERT [KS_BBSTopic] ([TopicId], [boardId], [UserId], [UserName], [UserIP], [Content], [PostTable], [AddDate], [LastPostTime], [verify], [IsTop], [Hits], [PostNum], [Digg], [IsBest], [KeyTags], [Annex], [ReplyText]) VALUES (125, 31, 117589, CONVERT(TEXT, N'q2'), CONVERT(TEXT, N'192.168.0.175'), N'足球喜爱的成员在哪里', CONVERT(TEXT, N'KS_BBSPost'), CAST(0x0000A8E300AC8F6B AS DateTime), CAST(0x0000A8E300AC8F6B AS DateTime), 1, 0, 4, 0, 2, 0, NULL, CONVERT(TEXT, N''), NULL)
INSERT [KS_BBSTopic] ([TopicId], [boardId], [UserId], [UserName], [UserIP], [Content], [PostTable], [AddDate], [LastPostTime], [verify], [IsTop], [Hits], [PostNum], [Digg], [IsBest], [KeyTags], [Annex], [ReplyText]) VALUES (126, 44, 117589, CONVERT(TEXT, N'q2'), CONVERT(TEXT, N'192.168.0.175'), N'舞蹈练成需要多久呢，会很辛苦吗', CONVERT(TEXT, N'KS_BBSPost'), CAST(0x0000A8E300ACB426 AS DateTime), CAST(0x0000A8E300ACB426 AS DateTime), 1, 0, 1, 0, 0, 0, NULL, CONVERT(TEXT, N''), NULL)
INSERT [KS_BBSTopic] ([TopicId], [boardId], [UserId], [UserName], [UserIP], [Content], [PostTable], [AddDate], [LastPostTime], [verify], [IsTop], [Hits], [PostNum], [Digg], [IsBest], [KeyTags], [Annex], [ReplyText]) VALUES (127, 42, 117589, CONVERT(TEXT, N'q2'), CONVERT(TEXT, N'192.168.0.175'), N'书法练习的难度在哪里，还需要有一定的基础吗', CONVERT(TEXT, N'KS_BBSPost'), CAST(0x0000A8E300ACD9C1 AS DateTime), CAST(0x0000A8E300ACD9C1 AS DateTime), 1, 0, 1, 0, 0, 0, NULL, CONVERT(TEXT, N''), NULL)
INSERT [KS_BBSTopic] ([TopicId], [boardId], [UserId], [UserName], [UserIP], [Content], [PostTable], [AddDate], [LastPostTime], [verify], [IsTop], [Hits], [PostNum], [Digg], [IsBest], [KeyTags], [Annex], [ReplyText]) VALUES (128, 42, 117589, CONVERT(TEXT, N'q2'), CONVERT(TEXT, N'192.168.0.175'), N'书法大师可以教我怎么样入门吗', CONVERT(TEXT, N'KS_BBSPost'), CAST(0x0000A8E300ACF16D AS DateTime), CAST(0x0000A8E300ACF16D AS DateTime), 1, 0, 3, 0, 0, 0, NULL, CONVERT(TEXT, N''), NULL)
INSERT [KS_BBSTopic] ([TopicId], [boardId], [UserId], [UserName], [UserIP], [Content], [PostTable], [AddDate], [LastPostTime], [verify], [IsTop], [Hits], [PostNum], [Digg], [IsBest], [KeyTags], [Annex], [ReplyText]) VALUES (129, 41, 117574, CONVERT(TEXT, N'mo30'), CONVERT(TEXT, N'192.168.0.179'), N'喜欢音乐的人可以互相了解探讨一下。', CONVERT(TEXT, N'KS_BBSPost'), CAST(0x0000A8E300FCA3E4 AS DateTime), CAST(0x0000A90401284A33 AS DateTime), 1, 0, 22, 1, 1, 0, NULL, CONVERT(TEXT, N''), N'mo1#@#117549#@#测试一下回复#@#2018/6/19 17:47:12#@#192.168.0.189#@#248')
INSERT [KS_BBSTopic] ([TopicId], [boardId], [UserId], [UserName], [UserIP], [Content], [PostTable], [AddDate], [LastPostTime], [verify], [IsTop], [Hits], [PostNum], [Digg], [IsBest], [KeyTags], [Annex], [ReplyText]) VALUES (130, 72, 117623, CONVERT(TEXT, N'18059882777'), CONVERT(TEXT, N'192.168.0.213'), N'发表一下话题', CONVERT(TEXT, N'KS_BBSPost'), CAST(0x0000A8E70124F5A3 AS DateTime), CAST(0x0000A8E70124F5A3 AS DateTime), 1, 0, 25, 0, 0, 0, NULL, CONVERT(TEXT, N''), NULL)
INSERT [KS_BBSTopic] ([TopicId], [boardId], [UserId], [UserName], [UserIP], [Content], [PostTable], [AddDate], [LastPostTime], [verify], [IsTop], [Hits], [PostNum], [Digg], [IsBest], [KeyTags], [Annex], [ReplyText]) VALUES (131, 74, 117621, CONVERT(TEXT, N'xin22'), CONVERT(TEXT, N'192.168.0.212'), N'这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一段测', CONVERT(TEXT, N'KS_BBSPost'), CAST(0x0000A8E7012DDD8F AS DateTime), CAST(0x0000A8E900ACA57C AS DateTime), 1, 0, 27, 1, 1, 0, NULL, CONVERT(TEXT, N''), N'q2#@#117589#@#这是一段字数的测试#@#2018/5/23 10:18:07#@#192.168.0.112#@#243')
INSERT [KS_BBSTopic] ([TopicId], [boardId], [UserId], [UserName], [UserIP], [Content], [PostTable], [AddDate], [LastPostTime], [verify], [IsTop], [Hits], [PostNum], [Digg], [IsBest], [KeyTags], [Annex], [ReplyText]) VALUES (132, 72, 117060, CONVERT(TEXT, N'pig1'), CONVERT(TEXT, N'192.168.0.112'), N'22222', CONVERT(TEXT, N'KS_BBSPost'), CAST(0x0000A8E80136DC1B AS DateTime), CAST(0x0000A8E80136DC1B AS DateTime), 1, 0, 7, 0, 0, 0, NULL, CONVERT(TEXT, N''), NULL)
INSERT [KS_BBSTopic] ([TopicId], [boardId], [UserId], [UserName], [UserIP], [Content], [PostTable], [AddDate], [LastPostTime], [verify], [IsTop], [Hits], [PostNum], [Digg], [IsBest], [KeyTags], [Annex], [ReplyText]) VALUES (133, 72, 117620, CONVERT(TEXT, N'mo33'), CONVERT(TEXT, N'192.168.0.204'), N'123123123', CONVERT(TEXT, N'KS_BBSPost'), CAST(0x0000A8EC011BC4B0 AS DateTime), CAST(0x0000A8EC011BC4B0 AS DateTime), 1, 0, 2, 0, 0, 0, NULL, CONVERT(TEXT, N''), NULL)
INSERT [KS_BBSTopic] ([TopicId], [boardId], [UserId], [UserName], [UserIP], [Content], [PostTable], [AddDate], [LastPostTime], [verify], [IsTop], [Hits], [PostNum], [Digg], [IsBest], [KeyTags], [Annex], [ReplyText]) VALUES (134, 72, 117589, CONVERT(TEXT, N'q2'), CONVERT(TEXT, N'192.168.0.101'), N'这个机构信息  还不错', CONVERT(TEXT, N'KS_BBSPost'), CAST(0x0000A8EC01348613 AS DateTime), CAST(0x0000A8EC01348613 AS DateTime), 1, 0, 28, 0, 0, 0, NULL, CONVERT(TEXT, N''), NULL)
INSERT [KS_BBSTopic] ([TopicId], [boardId], [UserId], [UserName], [UserIP], [Content], [PostTable], [AddDate], [LastPostTime], [verify], [IsTop], [Hits], [PostNum], [Digg], [IsBest], [KeyTags], [Annex], [ReplyText]) VALUES (135, 41, 116815, CONVERT(TEXT, N'tttttt'), CONVERT(TEXT, N'192.168.0.157'), N'这个话题是测试的', CONVERT(TEXT, N'KS_BBSPost'), CAST(0x0000A8F00117C2FF AS DateTime), CAST(0x0000A90401057BA5 AS DateTime), 1, 0, 230, 4, 1, 0, NULL, CONVERT(TEXT, N'/UploadFiles/club/2018-5/2018530165823X14E11JW6E.jpg§/UploadFiles/club/2018-5/2018530165827IO4MGF3JSJ.jpg'), N'tttttt#@#116815#@#回复一个把#@#2018/5/30 16:59:51#@#192.168.0.157#@#244№tttttt#@#116815#@#我要参与这个话题#@#2018/5/30 17:11:38#@#192.168.0.157#@#245№55555#@#116965#@#冒个泡   顶一下#@#2018/6/19 15:21:51#@#192.168.0.101#@#246№55555#@#116965#@#我要参与这个话题#@#2018/6/19 15:40:28#@#192.168.0.101#@#247')
INSERT [KS_BBSTopic] ([TopicId], [boardId], [UserId], [UserName], [UserIP], [Content], [PostTable], [AddDate], [LastPostTime], [verify], [IsTop], [Hits], [PostNum], [Digg], [IsBest], [KeyTags], [Annex], [ReplyText]) VALUES (136, 72, 117549, CONVERT(TEXT, N'mo1'), CONVERT(TEXT, N'192.168.0.168'), N'你还怕大雨吗，是不是还留短头发', CONVERT(TEXT, N'KS_BBSPost'), CAST(0x0000A90000BBEAA6 AS DateTime), CAST(0x0000A90000BBEAA6 AS DateTime), 1, 0, 2, 0, 1, 0, NULL, CONVERT(TEXT, N''), NULL)
INSERT [KS_BBSTopic] ([TopicId], [boardId], [UserId], [UserName], [UserIP], [Content], [PostTable], [AddDate], [LastPostTime], [verify], [IsTop], [Hits], [PostNum], [Digg], [IsBest], [KeyTags], [Annex], [ReplyText]) VALUES (137, 65, 117549, CONVERT(TEXT, N'mo1'), CONVERT(TEXT, N'192.168.0.189'), N'测试一下呗[发呆]', CONVERT(TEXT, N'KS_BBSPost'), CAST(0x0000A90401258B34 AS DateTime), CAST(0x0000A9040128CEB3 AS DateTime), 1, 0, 11, 1, 0, 0, NULL, CONVERT(TEXT, N''), N'mo1#@#117549#@#我来回复试试#@#2018/6/19 17:49:05#@#192.168.0.189#@#249')
INSERT [KS_BBSTopic] ([TopicId], [boardId], [UserId], [UserName], [UserIP], [Content], [PostTable], [AddDate], [LastPostTime], [verify], [IsTop], [Hits], [PostNum], [Digg], [IsBest], [KeyTags], [Annex], [ReplyText]) VALUES (138, 65, 117682, CONVERT(TEXT, N'test32'), CONVERT(TEXT, N'192.168.0.122'), N'ytttttttttttttttttttttttttt', CONVERT(TEXT, N'KS_BBSPost'), CAST(0x0000A90A0110BBB4 AS DateTime), CAST(0x0000A90A0110BBB4 AS DateTime), 1, 0, 1, 0, 0, 0, NULL, CONVERT(TEXT, N''), NULL)
INSERT [KS_BBSTopic] ([TopicId], [boardId], [UserId], [UserName], [UserIP], [Content], [PostTable], [AddDate], [LastPostTime], [verify], [IsTop], [Hits], [PostNum], [Digg], [IsBest], [KeyTags], [Annex], [ReplyText]) VALUES (139, 41, 117084, CONVERT(TEXT, N'y11111'), CONVERT(TEXT, N'192.168.0.166'), N'12132123123', CONVERT(TEXT, N'KS_BBSPost'), CAST(0x0000A90A012963FC AS DateTime), CAST(0x0000A90A012963FC AS DateTime), 1, 0, 1, 0, 0, 0, NULL, CONVERT(TEXT, N''), NULL)
INSERT [KS_BBSTopic] ([TopicId], [boardId], [UserId], [UserName], [UserIP], [Content], [PostTable], [AddDate], [LastPostTime], [verify], [IsTop], [Hits], [PostNum], [Digg], [IsBest], [KeyTags], [Annex], [ReplyText]) VALUES (140, 41, 117084, CONVERT(TEXT, N'y11111'), CONVERT(TEXT, N'192.168.0.166'), N'123132123', CONVERT(TEXT, N'KS_BBSPost'), CAST(0x0000A90A0129AF7F AS DateTime), CAST(0x0000A90A0129AF7F AS DateTime), 1, 0, 1, 0, 0, 0, NULL, CONVERT(TEXT, N''), NULL)
INSERT [KS_BBSTopic] ([TopicId], [boardId], [UserId], [UserName], [UserIP], [Content], [PostTable], [AddDate], [LastPostTime], [verify], [IsTop], [Hits], [PostNum], [Digg], [IsBest], [KeyTags], [Annex], [ReplyText]) VALUES (141, 41, 117084, CONVERT(TEXT, N'y11111'), CONVERT(TEXT, N'192.168.0.166'), N'fsdfsdfsdfsd', CONVERT(TEXT, N'KS_BBSPost'), CAST(0x0000A90A012A37E5 AS DateTime), CAST(0x0000A90A012A37E5 AS DateTime), 1, 0, 1, 0, 0, 0, NULL, CONVERT(TEXT, N''), NULL)
INSERT [KS_BBSTopic] ([TopicId], [boardId], [UserId], [UserName], [UserIP], [Content], [PostTable], [AddDate], [LastPostTime], [verify], [IsTop], [Hits], [PostNum], [Digg], [IsBest], [KeyTags], [Annex], [ReplyText]) VALUES (142, 41, 117084, CONVERT(TEXT, N'y11111'), CONVERT(TEXT, N'192.168.0.166'), N'sdasdasdasdasd', CONVERT(TEXT, N'KS_BBSPost'), CAST(0x0000A90A012AEBC8 AS DateTime), CAST(0x0000A90A012AEBC8 AS DateTime), 1, 0, 27, 0, 0, 0, NULL, CONVERT(TEXT, N''), NULL)
INSERT [KS_BBSTopic] ([TopicId], [boardId], [UserId], [UserName], [UserIP], [Content], [PostTable], [AddDate], [LastPostTime], [verify], [IsTop], [Hits], [PostNum], [Digg], [IsBest], [KeyTags], [Annex], [ReplyText]) VALUES (143, 31, 117353, CONVERT(TEXT, N'c1'), CONVERT(TEXT, N'192.168.0.137'), N'222[摇头]', CONVERT(TEXT, N'KS_BBSPost'), CAST(0x0000A90E010F328E AS DateTime), CAST(0x0000A90E010F328E AS DateTime), 1, 0, 5, 0, 0, 0, NULL, CONVERT(TEXT, N'/UploadFiles/club/2018-6/2018629162630LFXSE65ETJ.jpg§/UploadFiles/club/2018-6/2018629162632ZJSP1X34Y3.png'), NULL)
INSERT [KS_BBSTopic] ([TopicId], [boardId], [UserId], [UserName], [UserIP], [Content], [PostTable], [AddDate], [LastPostTime], [verify], [IsTop], [Hits], [PostNum], [Digg], [IsBest], [KeyTags], [Annex], [ReplyText]) VALUES (144, 41, 117549, CONVERT(TEXT, N'mo1'), CONVERT(TEXT, N'192.168.0.141'), N'听说鬼吹灯之精绝古城是豆瓣高分剧呀', CONVERT(TEXT, N'KS_BBSPost'), CAST(0x0000A91500F9E29A AS DateTime), CAST(0x0000A91500F9E29A AS DateTime), 1, 0, 23, 0, 0, 0, NULL, CONVERT(TEXT, N'/UploadFiles/club/2018-7/20187615917H4UG7UGR64.jpg'), NULL)
SET IDENTITY_INSERT [KS_BBSTopic] OFF
/****** Object:  Table [dbo].[KS_BBSTable]    Script Date: 09/07/2018 17:58:06 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [KS_BBSTable](
	[TableId] [int] IDENTITY(1,1) NOT NULL,
	[Title] [nvarchar](200) NULL,
	[TableName] [nvarchar](100) NULL,
	[IsDefault] [int] NULL,
	[AddDate] [datetime] NULL,
	[IsSys] [int] NULL,
 CONSTRAINT [PK_KS_BBSTable] PRIMARY KEY CLUSTERED 
(
	[TableId] ASC
) ON [PRIMARY]
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSTable', @level2type=N'COLUMN',@level2name=N'TableId'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'表别名' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSTable', @level2type=N'COLUMN',@level2name=N'Title'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'表名' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSTable', @level2type=N'COLUMN',@level2name=N'TableName'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'是否默认' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSTable', @level2type=N'COLUMN',@level2name=N'IsDefault'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'添加日期' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSTable', @level2type=N'COLUMN',@level2name=N'AddDate'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'是否为系统' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSTable', @level2type=N'COLUMN',@level2name=N'IsSys'
GO
SET IDENTITY_INSERT [KS_BBSTable] ON
INSERT [KS_BBSTable] ([TableId], [Title], [TableName], [IsDefault], [AddDate], [IsSys]) VALUES (1, CONVERT(TEXT, N'自带话题回复表'), CONVERT(TEXT, N'KS_BBSPost'), 1, CAST(0x0000A33300000000 AS DateTime), 1)
SET IDENTITY_INSERT [KS_BBSTable] OFF
/****** Object:  Table [dbo].[KS_BBSRank]    Script Date: 09/07/2018 17:58:06 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [KS_BBSRank](
	[RankID] [int] IDENTITY(1,1) NOT NULL,
	[RankName] [nvarchar](200) NULL,
	[IsSys] [tinyint] NULL,
	[Score] [int] NULL,
	[Ico] [nvarchar](255) NULL,
	[TopicNum] [int] NULL,
	[PostNum] [nvarchar](50) NULL,
	[Color] [nvarchar](30) NULL,
 CONSTRAINT [PK_KS_BBSRank] PRIMARY KEY CLUSTERED 
(
	[RankID] ASC
) ON [PRIMARY]
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'等级ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSRank', @level2type=N'COLUMN',@level2name=N'RankID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'等级名称' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSRank', @level2type=N'COLUMN',@level2name=N'RankName'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'系统' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSRank', @level2type=N'COLUMN',@level2name=N'IsSys'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'达到积分' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSRank', @level2type=N'COLUMN',@level2name=N'Score'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'图标' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSRank', @level2type=N'COLUMN',@level2name=N'Ico'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'主题数' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSRank', @level2type=N'COLUMN',@level2name=N'TopicNum'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'回复数' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSRank', @level2type=N'COLUMN',@level2name=N'PostNum'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'颜色' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSRank', @level2type=N'COLUMN',@level2name=N'Color'
GO
SET IDENTITY_INSERT [KS_BBSRank] ON
INSERT [KS_BBSRank] ([RankID], [RankName], [IsSys], [Score], [Ico], [TopicNum], [PostNum], [Color]) VALUES (1, CONVERT(TEXT, N'管理团队'), 1, 0, CONVERT(TEXT, N'rank5.gif'), 0, CONVERT(TEXT, N'0'), CONVERT(TEXT, N''))
INSERT [KS_BBSRank] ([RankID], [RankName], [IsSys], [Score], [Ico], [TopicNum], [PostNum], [Color]) VALUES (2, CONVERT(TEXT, N'特聘专家'), 1, 0, CONVERT(TEXT, N'rank5.gif'), 0, CONVERT(TEXT, N'0'), CONVERT(TEXT, N''))
INSERT [KS_BBSRank] ([RankID], [RankName], [IsSys], [Score], [Ico], [TopicNum], [PostNum], [Color]) VALUES (3, CONVERT(TEXT, N'贵宾用户'), 1, 0, CONVERT(TEXT, N'rank4.gif'), 0, CONVERT(TEXT, N'0'), CONVERT(TEXT, N''))
INSERT [KS_BBSRank] ([RankID], [RankName], [IsSys], [Score], [Ico], [TopicNum], [PostNum], [Color]) VALUES (4, CONVERT(TEXT, N'新手上路'), 0, 0, CONVERT(TEXT, N'rank4.gif'), 0, CONVERT(TEXT, N'0'), CONVERT(TEXT, N''))
INSERT [KS_BBSRank] ([RankID], [RankName], [IsSys], [Score], [Ico], [TopicNum], [PostNum], [Color]) VALUES (5, CONVERT(TEXT, N'侠客'), 0, 10, CONVERT(TEXT, N'rank3.gif'), 2, CONVERT(TEXT, N'0'), CONVERT(TEXT, N''))
INSERT [KS_BBSRank] ([RankID], [RankName], [IsSys], [Score], [Ico], [TopicNum], [PostNum], [Color]) VALUES (6, CONVERT(TEXT, N'骑士'), 0, 50, CONVERT(TEXT, N'rank0.gif'), 2, CONVERT(TEXT, N'0'), CONVERT(TEXT, N''))
INSERT [KS_BBSRank] ([RankID], [RankName], [IsSys], [Score], [Ico], [TopicNum], [PostNum], [Color]) VALUES (7, CONVERT(TEXT, N'圣骑士'), 0, 100, CONVERT(TEXT, N'rank0.gif'), 3, CONVERT(TEXT, N'0'), CONVERT(TEXT, N''))
INSERT [KS_BBSRank] ([RankID], [RankName], [IsSys], [Score], [Ico], [TopicNum], [PostNum], [Color]) VALUES (8, CONVERT(TEXT, N'精灵王'), 0, 200, CONVERT(TEXT, N'rank1.gif'), 4, CONVERT(TEXT, N'0'), CONVERT(TEXT, N''))
INSERT [KS_BBSRank] ([RankID], [RankName], [IsSys], [Score], [Ico], [TopicNum], [PostNum], [Color]) VALUES (9, CONVERT(TEXT, N'风云使者'), 0, 500, CONVERT(TEXT, N'rank1.gif'), 5, CONVERT(TEXT, N'0'), CONVERT(TEXT, N''))
INSERT [KS_BBSRank] ([RankID], [RankName], [IsSys], [Score], [Ico], [TopicNum], [PostNum], [Color]) VALUES (10, CONVERT(TEXT, N'光明使者'), 0, 700, CONVERT(TEXT, N'rank1.gif'), 6, CONVERT(TEXT, N'0'), CONVERT(TEXT, N''))
INSERT [KS_BBSRank] ([RankID], [RankName], [IsSys], [Score], [Ico], [TopicNum], [PostNum], [Color]) VALUES (11, CONVERT(TEXT, N'小天使'), 0, 1000, CONVERT(TEXT, N'rank1.gif'), 7, CONVERT(TEXT, N'0'), CONVERT(TEXT, N''))
INSERT [KS_BBSRank] ([RankID], [RankName], [IsSys], [Score], [Ico], [TopicNum], [PostNum], [Color]) VALUES (12, CONVERT(TEXT, N'大天使'), 0, 2000, CONVERT(TEXT, N'rank1.gif'), 0, CONVERT(TEXT, N'0'), CONVERT(TEXT, N''))
INSERT [KS_BBSRank] ([RankID], [RankName], [IsSys], [Score], [Ico], [TopicNum], [PostNum], [Color]) VALUES (13, CONVERT(TEXT, N'炽天使'), 0, 5000, CONVERT(TEXT, N'rank2.gif'), 0, CONVERT(TEXT, N'0'), CONVERT(TEXT, N''))
INSERT [KS_BBSRank] ([RankID], [RankName], [IsSys], [Score], [Ico], [TopicNum], [PostNum], [Color]) VALUES (14, CONVERT(TEXT, N'圣天使'), 0, 6000, CONVERT(TEXT, N'rank2.gif'), 0, CONVERT(TEXT, N'0'), CONVERT(TEXT, N''))
SET IDENTITY_INSERT [KS_BBSRank] OFF
/****** Object:  Table [dbo].[KS_BBSPost]    Script Date: 09/07/2018 17:58:06 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [KS_BBSPost](
	[postid] [int] IDENTITY(1,1) NOT NULL,
	[TopicID] [int] NULL,
	[content] [nvarchar](2000) NULL,
	[AddDate] [datetime] NULL,
	[Verify] [int] NULL,
	[UserIP] [nvarchar](255) NULL,
	[UserId] [int] NULL,
	[UserName] [nvarchar](50) NULL,
	[Annex] [nvarchar](1000) NULL,
 CONSTRAINT [PK_KS_BBSPost] PRIMARY KEY CLUSTERED 
(
	[postid] ASC
) ON [PRIMARY]
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'回复ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSPost', @level2type=N'COLUMN',@level2name=N'postid'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'话题Id' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSPost', @level2type=N'COLUMN',@level2name=N'TopicID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'内容' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSPost', @level2type=N'COLUMN',@level2name=N'content'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'添加日期' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSPost', @level2type=N'COLUMN',@level2name=N'AddDate'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'审核状态' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSPost', @level2type=N'COLUMN',@level2name=N'Verify'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户IP' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSPost', @level2type=N'COLUMN',@level2name=N'UserIP'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSPost', @level2type=N'COLUMN',@level2name=N'UserId'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户名' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSPost', @level2type=N'COLUMN',@level2name=N'UserName'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'附加信息' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSPost', @level2type=N'COLUMN',@level2name=N'Annex'
GO
SET IDENTITY_INSERT [KS_BBSPost] ON
INSERT [KS_BBSPost] ([postid], [TopicID], [content], [AddDate], [Verify], [UserIP], [UserId], [UserName], [Annex]) VALUES (243, 131, N'这是一段字数的测试', CAST(0x0000A8E900A9C60D AS DateTime), 1, CONVERT(TEXT, N'192.168.0.112'), 117589, CONVERT(TEXT, N'q2'), CONVERT(TEXT, N''))
INSERT [KS_BBSPost] ([postid], [TopicID], [content], [AddDate], [Verify], [UserIP], [UserId], [UserName], [Annex]) VALUES (244, 135, N'回复一个把', CAST(0x0000A8F001181C68 AS DateTime), 1, CONVERT(TEXT, N'192.168.0.157'), 116815, CONVERT(TEXT, N'tttttt'), CONVERT(TEXT, N''))
INSERT [KS_BBSPost] ([postid], [TopicID], [content], [AddDate], [Verify], [UserIP], [UserId], [UserName], [Annex]) VALUES (245, 135, N'我要参与这个话题', CAST(0x0000A8F0011B5957 AS DateTime), 1, CONVERT(TEXT, N'192.168.0.157'), 116815, CONVERT(TEXT, N'tttttt'), CONVERT(TEXT, N''))
INSERT [KS_BBSPost] ([postid], [TopicID], [content], [AddDate], [Verify], [UserIP], [UserId], [UserName], [Annex]) VALUES (246, 135, N'冒个泡   顶一下', CAST(0x0000A90400FD327A AS DateTime), 1, CONVERT(TEXT, N'192.168.0.101'), 116965, CONVERT(TEXT, N'55555'), CONVERT(TEXT, N''))
INSERT [KS_BBSPost] ([postid], [TopicID], [content], [AddDate], [Verify], [UserIP], [UserId], [UserName], [Annex]) VALUES (247, 135, N'我要参与这个话题', CAST(0x0000A90401024ED6 AS DateTime), 1, CONVERT(TEXT, N'192.168.0.101'), 116965, CONVERT(TEXT, N'55555'), CONVERT(TEXT, N''))
INSERT [KS_BBSPost] ([postid], [TopicID], [content], [AddDate], [Verify], [UserIP], [UserId], [UserName], [Annex]) VALUES (248, 129, N'测试一下回复', CAST(0x0000A90401251D83 AS DateTime), 1, CONVERT(TEXT, N'192.168.0.189'), 117549, CONVERT(TEXT, N'mo1'), CONVERT(TEXT, N''))
INSERT [KS_BBSPost] ([postid], [TopicID], [content], [AddDate], [Verify], [UserIP], [UserId], [UserName], [Annex]) VALUES (249, 137, N'我来回复试试', CAST(0x0000A9040125A200 AS DateTime), 1, CONVERT(TEXT, N'192.168.0.189'), 117549, CONVERT(TEXT, N'mo1'), CONVERT(TEXT, N''))
SET IDENTITY_INSERT [KS_BBSPost] OFF
/****** Object:  Table [dbo].[KS_BBSMember]    Script Date: 09/07/2018 17:58:06 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [KS_BBSMember](
	[MemberId] [int] IDENTITY(1,1) NOT NULL,
	[UserId] [int] NULL,
	[UserName] [nvarchar](50) NULL,
	[Job] [int] NULL,
	[ClassId] [int] NULL,
	[BoardId] [int] NULL,
	[UserPower] [int] NULL,
	[UserFace] [nvarchar](50) NULL,
 CONSTRAINT [PK_KS_BBSMember] PRIMARY KEY CLUSTERED 
(
	[MemberId] ASC
) ON [PRIMARY]
) ON [PRIMARY]
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'成员id' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSMember', @level2type=N'COLUMN',@level2name=N'MemberId'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'组员id信息' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSMember', @level2type=N'COLUMN',@level2name=N'UserId'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'组员姓名' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSMember', @level2type=N'COLUMN',@level2name=N'UserName'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'职位id' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSMember', @level2type=N'COLUMN',@level2name=N'Job'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'班级id' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSMember', @level2type=N'COLUMN',@level2name=N'ClassId'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'小组id' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSMember', @level2type=N'COLUMN',@level2name=N'BoardId'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'权限' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSMember', @level2type=N'COLUMN',@level2name=N'UserPower'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'组员头像' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSMember', @level2type=N'COLUMN',@level2name=N'UserFace'
GO
SET IDENTITY_INSERT [KS_BBSMember] ON
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (1, 116962, N'teacher', NULL, NULL, 2, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (2, 116962, N'teacher', NULL, NULL, 26, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (3, 116815, N'tttttt', NULL, NULL, 2, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (4, 116815, N'tttttt', NULL, NULL, 26, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (5, 116810, N'kunpark', NULL, NULL, 2, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (6, 116810, N'kunpark', NULL, NULL, 26, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (7, 116815, N'tttttt', NULL, NULL, 21, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (8, 116815, N'tttttt', NULL, NULL, 25, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (9, 116815, N'tttttt', NULL, NULL, 28, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (10, 116810, N'kunpark', NULL, NULL, 25, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (11, 116974, N'teacher1', NULL, NULL, 31, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (12, 116992, N'5656', NULL, NULL, 31, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (13, 116815, N'tttttt', NULL, NULL, 31, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (14, 116965, N'55555', NULL, NULL, 31, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (15, 116810, N'kunpark', NULL, NULL, 28, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (16, 116992, N'5656', NULL, NULL, 2, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (17, 116974, N'teacher1', NULL, NULL, 26, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (18, 117029, N'123', NULL, NULL, 26, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (19, 117031, N'userschool', NULL, NULL, 28, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (20, 116822, N'kun1', NULL, NULL, 26, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (21, 116963, N'user001', NULL, NULL, 26, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (22, 116963, N'user001', NULL, NULL, 31, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (23, 116965, N'55555', NULL, NULL, 2, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (24, 116972, N'stu1', NULL, NULL, 27, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (25, 117037, N'321', NULL, NULL, 44, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (26, 116972, N'stu1', NULL, NULL, 28, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (27, 116817, N'多学多用', NULL, NULL, 28, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (28, 116962, N'teacher', NULL, NULL, 44, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (29, 116815, N'tttttt', NULL, NULL, 44, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (30, 116824, N'wang', NULL, NULL, 28, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (31, 117039, N'333', NULL, NULL, 44, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (40, 116881, N'xiaotong', NULL, NULL, 44, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (41, 116822, N'kun1', NULL, NULL, 44, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (42, 117039, N'333', NULL, NULL, 51, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (43, 117060, N'pig1', NULL, NULL, 49, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (44, 116815, N'tttttt', NULL, NULL, 49, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (45, 117084, N'y11111', NULL, NULL, 2, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (46, 117087, N'222', NULL, NULL, 51, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (47, 117090, N'王一', NULL, NULL, 56, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (48, 117091, N'王二', NULL, NULL, 56, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (49, 117059, N't123456', NULL, NULL, 57, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (50, 117059, N't123456', NULL, NULL, 59, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (51, 116815, N'tttttt', NULL, NULL, 59, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (52, 117122, N'王一', NULL, NULL, 61, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (53, 117123, N'王二', NULL, NULL, 61, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (54, 116965, N'55555', NULL, NULL, 61, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (55, 117117, N'wang1', NULL, NULL, 61, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (56, 117088, N'1', NULL, NULL, 63, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (57, 117195, N'User006', NULL, NULL, 44, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (58, 116965, N'55555', NULL, NULL, 44, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (59, 116824, N'wang', NULL, NULL, 44, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (60, 117549, N'mo1', NULL, NULL, 65, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (61, 117555, N'mo5', NULL, NULL, 68, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (62, 116815, N'tttttt', NULL, NULL, 68, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (63, 117250, N'user001', NULL, NULL, 68, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (64, 117060, N'pig1', NULL, NULL, 68, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (65, 116815, N'tttttt', NULL, NULL, 65, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (66, 117559, N'dai4', NULL, NULL, 44, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (67, 117559, N'dai4', NULL, NULL, 65, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (68, 116965, N'55555', NULL, NULL, 65, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (69, 117559, N'dai4', NULL, NULL, 26, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (70, 116816, N'11111', NULL, NULL, 44, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (71, 117250, N'user001', NULL, NULL, 65, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (72, 117441, N's111', NULL, NULL, 65, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (73, 117579, N'王一1', NULL, NULL, 69, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (74, 117580, N'王二2', NULL, NULL, 69, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (75, 117512, N'q1', NULL, NULL, 44, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (76, 117512, N'q1', NULL, NULL, 31, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (77, 116821, N'kun2', NULL, NULL, 44, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (78, 117250, N'user001', NULL, NULL, 44, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (79, 117250, N'user001', NULL, NULL, 31, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (80, 117587, N'newuser0001', NULL, NULL, 44, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (81, 116824, N'wang', NULL, NULL, 65, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (82, 117569, N'dai15', NULL, NULL, 65, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (83, 117569, N'dai15', NULL, NULL, 44, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (84, 117569, N'dai15', NULL, NULL, 26, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (85, 117589, N'q2', NULL, NULL, 31, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (86, 117589, N'q2', NULL, NULL, 44, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (87, 117574, N'mo30', NULL, NULL, 41, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (88, 117384, N'sky1011', NULL, NULL, 65, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (89, 117574, N'mo30', NULL, NULL, 65, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (90, 117574, N'mo30', NULL, NULL, 44, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (91, 117512, N'q1', NULL, NULL, 41, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (92, 117621, N'xin22', NULL, NULL, 74, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (93, 116815, N'tttttt', NULL, NULL, 41, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (94, 117596, N'a1', NULL, NULL, 65, NULL, NULL)
INSERT [KS_BBSMember] ([MemberId], [UserId], [UserName], [Job], [ClassId], [BoardId], [UserPower], [UserFace]) VALUES (95, 117549, N'mo1', NULL, NULL, 41, NULL, NULL)
SET IDENTITY_INSERT [KS_BBSMember] OFF
/****** Object:  Table [dbo].[KS_BBSBoard]    Script Date: 09/07/2018 17:58:06 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [KS_BBSBoard](
	[BoardID] [int] IDENTITY(1,1) NOT NULL,
	[BoardName] [nvarchar](255) NULL,
	[ParentID] [int] NULL,
	[Root] [int] NULL,
	[Depth] [int] NULL,
	[OrderID] [int] NULL,
	[ParentIDPath] [nvarchar](255) NULL,
	[Child] [int] NULL,
	[PrevID] [int] NULL,
	[NextID] [int] NULL,
	[AddDate] [datetime] NULL,
	[Setting] [ntext] NULL,
	[BoardMaster] [nvarchar](255) NULL,
	[ICO] [nvarchar](255) NULL,
	[Intro] [nvarchar](255) NULL,
	[BoardRules] [ntext] NULL,
	[TopicNum] [int] NULL,
	[PostNum] [int] NULL,
	[TodayNum] [int] NULL,
	[LastPost] [nvarchar](255) NULL,
	[UserId] [int] NULL,
	[UserName] [nvarchar](50) NULL,
	[ClassRoomId] [int] NULL,
	[ClassStatus] [int] NULL,
	[StudentNum] [int] NULL,
	[Hits] [int] NULL,
	[SchoolID] [int] NULL,
	[SchoolName] [nvarchar](255) NULL,
 CONSTRAINT [PK_KS_BBSBoard] PRIMARY KEY CLUSTERED 
(
	[BoardID] ASC
) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
SET ANSI_PADDING OFF
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'版块ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSBoard', @level2type=N'COLUMN',@level2name=N'BoardID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'小组名称' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSBoard', @level2type=N'COLUMN',@level2name=N'BoardName'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'所属小组分类' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSBoard', @level2type=N'COLUMN',@level2name=N'ParentID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'根级别' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSBoard', @level2type=N'COLUMN',@level2name=N'Root'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'深度，层级' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSBoard', @level2type=N'COLUMN',@level2name=N'Depth'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'排序' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSBoard', @level2type=N'COLUMN',@level2name=N'OrderID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'父id集' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSBoard', @level2type=N'COLUMN',@level2name=N'ParentIDPath'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'子项数量' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSBoard', @level2type=N'COLUMN',@level2name=N'Child'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'前一个id' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSBoard', @level2type=N'COLUMN',@level2name=N'PrevID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'下一个id' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSBoard', @level2type=N'COLUMN',@level2name=N'NextID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'创建时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSBoard', @level2type=N'COLUMN',@level2name=N'AddDate'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'其它设置' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSBoard', @level2type=N'COLUMN',@level2name=N'Setting'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'小组创建人' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSBoard', @level2type=N'COLUMN',@level2name=N'BoardMaster'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'版面图标' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSBoard', @level2type=N'COLUMN',@level2name=N'ICO'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'版面介绍' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSBoard', @level2type=N'COLUMN',@level2name=N'Intro'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'版规' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSBoard', @level2type=N'COLUMN',@level2name=N'BoardRules'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'主题数' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSBoard', @level2type=N'COLUMN',@level2name=N'TopicNum'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'回复数' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSBoard', @level2type=N'COLUMN',@level2name=N'PostNum'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'今日发帖数' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSBoard', @level2type=N'COLUMN',@level2name=N'TodayNum'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'最后发送' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSBoard', @level2type=N'COLUMN',@level2name=N'LastPost'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'小组创始人ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSBoard', @level2type=N'COLUMN',@level2name=N'UserId'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'小组创始人' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSBoard', @level2type=N'COLUMN',@level2name=N'UserName'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'班级id' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSBoard', @level2type=N'COLUMN',@level2name=N'ClassRoomId'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'班级状态0-未绑定1-绑定班级' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSBoard', @level2type=N'COLUMN',@level2name=N'ClassStatus'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'小组总人数' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSBoard', @level2type=N'COLUMN',@level2name=N'StudentNum'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'浏览人数' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSBoard', @level2type=N'COLUMN',@level2name=N'Hits'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'机构id' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSBoard', @level2type=N'COLUMN',@level2name=N'SchoolID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'机构名称' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'KS_BBSBoard', @level2type=N'COLUMN',@level2name=N'SchoolName'
GO
SET IDENTITY_INSERT [KS_BBSBoard] ON
INSERT [KS_BBSBoard] ([BoardID], [BoardName], [ParentID], [Root], [Depth], [OrderID], [ParentIDPath], [Child], [PrevID], [NextID], [AddDate], [Setting], [BoardMaster], [ICO], [Intro], [BoardRules], [TopicNum], [PostNum], [TodayNum], [LastPost], [UserId], [UserName], [ClassRoomId], [ClassStatus], [StudentNum], [Hits], [SchoolID], [SchoolName]) VALUES (1, CONVERT(TEXT, N'微社区'), 0, 1, 1, 0, CONVERT(TEXT, N'0'), 1, 0, 22, CAST(0x0000A79F010624D1 AS DateTime), N'$$$$$$$$0$$$$1$$$$5$$$$5$$$$100$$$$10$$$$20$$$$1$$$$$$$$$$$$0$$$$1$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0', CONVERT(TEXT, N'001'), CONVERT(TEXT, N'/UploadFiles/4131425874899285.jpg'), CONVERT(TEXT, N'拉拉阿拉'), N'', 2, 0, 0, NULL, NULL, NULL, 11, 1, 2, 27, NULL, NULL)
INSERT [KS_BBSBoard] ([BoardID], [BoardName], [ParentID], [Root], [Depth], [OrderID], [ParentIDPath], [Child], [PrevID], [NextID], [AddDate], [Setting], [BoardMaster], [ICO], [Intro], [BoardRules], [TopicNum], [PostNum], [TodayNum], [LastPost], [UserId], [UserName], [ClassRoomId], [ClassStatus], [StudentNum], [Hits], [SchoolID], [SchoolName]) VALUES (22, CONVERT(TEXT, N'搜索'), 0, 7, 1, 0, CONVERT(TEXT, N'0'), 0, 1, 24, CAST(0x0000A7BE01105CBC AS DateTime), N'$$$$$$$$0$$$$1$$$$5$$$$5$$$$100$$$$10$$$$20$$$$1$$$$$$$$$$$$0$$$$1$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0', CONVERT(TEXT, N''), CONVERT(TEXT, N'搜索'), CONVERT(TEXT, N'搜索'), N'', 0, 0, 0, NULL, NULL, NULL, NULL, NULL, 2, 13, NULL, NULL)
INSERT [KS_BBSBoard] ([BoardID], [BoardName], [ParentID], [Root], [Depth], [OrderID], [ParentIDPath], [Child], [PrevID], [NextID], [AddDate], [Setting], [BoardMaster], [ICO], [Intro], [BoardRules], [TopicNum], [PostNum], [TodayNum], [LastPost], [UserId], [UserName], [ClassRoomId], [ClassStatus], [StudentNum], [Hits], [SchoolID], [SchoolName]) VALUES (24, CONVERT(TEXT, N'搜索时'), 0, 8, 1, 0, CONVERT(TEXT, N'0'), 0, 22, 47, CAST(0x0000A7BE0114DC7A AS DateTime), N'$$$$$$$$0$$$$1$$$$5$$$$5$$$$100$$$$10$$$$20$$$$1$$$$$$$$$$$$0$$$$1$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0', CONVERT(TEXT, N''), CONVERT(TEXT, N'啧啧啧'), CONVERT(TEXT, N'是撒'), N'', 2, 1, 0, NULL, NULL, NULL, NULL, NULL, 2, 2, NULL, NULL)
INSERT [KS_BBSBoard] ([BoardID], [BoardName], [ParentID], [Root], [Depth], [OrderID], [ParentIDPath], [Child], [PrevID], [NextID], [AddDate], [Setting], [BoardMaster], [ICO], [Intro], [BoardRules], [TopicNum], [PostNum], [TodayNum], [LastPost], [UserId], [UserName], [ClassRoomId], [ClassStatus], [StudentNum], [Hits], [SchoolID], [SchoolName]) VALUES (26, CONVERT(TEXT, N'光宗耀组'), 1, 0, 0, 0, NULL, 0, 0, 0, CAST(0x0000A7D601234034 AS DateTime), N'$$$$$$$$10$$$$1$$$$10$$$$10$$$$10$$$$10$$$$20$$$$1$$$$$$$$$$$$0$$$$1$$$$1$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$1$$$$1$$$$$$$$$$$$', CONVERT(TEXT, N''), CONVERT(TEXT, N'/UploadFiles/user/116974/X1314621463647012.jpg'), CONVERT(TEXT, N'介绍和名字一样，要光宗耀祖。光宗耀组光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组'), N'<p>介绍和名字一样，要光宗耀祖。光宗耀组光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组光宗耀组介绍和名字一样，要光宗耀祖。光宗耀组</p>', 12, 32, 0, CONVERT(TEXT, N'91$2017/10/17 12:21:43$说两句^_^$tttttt$116815$$'), 116974, N'teacher1', 21, 1, 5, 493, 0, NULL)
INSERT [KS_BBSBoard] ([BoardID], [BoardName], [ParentID], [Root], [Depth], [OrderID], [ParentIDPath], [Child], [PrevID], [NextID], [AddDate], [Setting], [BoardMaster], [ICO], [Intro], [BoardRules], [TopicNum], [PostNum], [TodayNum], [LastPost], [UserId], [UserName], [ClassRoomId], [ClassStatus], [StudentNum], [Hits], [SchoolID], [SchoolName]) VALUES (28, CONVERT(TEXT, N'动漫兴趣小组'), 1, 0, 0, 0, NULL, 0, 0, 0, CAST(0x0000A7F000A58BD6 AS DateTime), N'$$$$$$$$5$$$$1$$$$5$$$$5$$$$5$$$$5$$$$0$$$$1$$$$$$$$$$$$0$$$$1$$$$10$$$$5$$$$0$$$$06:00$$$$23:00$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$1$$$$1$$$$$$$$$$$$', CONVERT(TEXT, N''), CONVERT(TEXT, N'/UploadFiles/user/116962/41314664996562471.jpg'), CONVERT(TEXT, N'这是一个专为热爱动漫，喜欢动漫的学生成立的小组，在这里你可以畅所欲言！'), N'<p>1.	我们发现,我们思考,我们交流,我们进步!<br style="color: rgb(51, 51, 51); font-family: &#39;Microsoft Yahei&#39;, arial, sans-serif; line-height: 30px; white-space: pre-wrap; background-color: rgb(255, 255, 255);"/>2.	忠诚合作、积极乐观、努力开拓、勇往直前。<br style="color: rgb(51, 51, 51); font-family: &#39;Microsoft Yahei&#39;, arial, sans-serif; line-height: 30px; white-space: pre-wrap; background-color: rgb(255, 255, 255);"/>3.	团结一心，其利断金；众志成城 飞越颠峰。<br style="color: rgb(51, 51, 51); font-family: &#39;Microsoft Yahei&#39;, arial, sans-serif; line-height: 30px; white-space: pre-wrap; background-color: rgb(255, 255, 255);"/>4.	胜不骄，败不馁，全力冲刺不后悔！<br style="color: rgb(51, 51, 51); font-family: &#39;Microsoft Yahei&#39;, arial, sans-serif; line-height: 30px; white-space: pre-wrap; background-color: rgb(255, 255, 255);"/>5.	真正的强者，不是流泪的人，而是含泪奔跑的人！<br style="color: rgb(51, 51, 51); font-family: &#39;Microsoft Yahei&#39;, arial, sans-serif; line-height: 30px; white-space: pre-wrap; background-color: rgb(255, 255, 255);"/>6.	专心致志，持之以恒！<br style="color: rgb(51, 51, 51); font-family: &#39;Microsoft Yahei&#39;, arial, sans-serif; line-height: 30px; white-space: pre-wrap; background-color: rgb(255, 255, 255);"/>7.	我们努力，我们成功<br style="color: rgb(51, 51, 51); font-family: &#39;Microsoft Yahei&#39;, arial, sans-serif; line-height: 30px; white-space: pre-wrap; background-color: rgb(255, 255, 255);"/>8.	拥有翅膀，自由飞翔<br style="color: rgb(51, 51, 51); font-family: &#39;Microsoft Yahei&#39;, arial, sans-serif; line-height: 30px; white-space: pre-wrap; background-color: rgb(255, 255, 255);"/>9.	热爱学习，勤奋无敌<br style="color: rgb(51, 51, 51); font-family: &#39;Microsoft Yahei&#39;, arial, sans-serif; line-height: 30px; white-space: pre-wrap; background-color: rgb(255, 255, 255);"/>10.	勤奋学习，积极向上<br style="color: rgb(51, 51, 51); font-family: &#39;Microsoft Yahei&#39;, arial, sans-serif; line-height: 30px; white-space: pre-wrap; background-color: rgb(255, 255, 255);"/>11.	团结友爱，互帮互助<br style="color: rgb(51, 51, 51); font-family: &#39;Microsoft Yahei&#39;, arial, sans-serif; line-height: 30px; white-space: pre-wrap; background-color: rgb(255, 255, 255);"/>12.	齐心协力，迈步辉煌。<br style="color: rgb(51, 51, 51); font-family: &#39;Microsoft Yahei&#39;, arial, sans-serif; line-height: 30px; white-space: pre-wrap; background-color: rgb(255, 255, 255);"/>13.	一起进步，共同精彩<br style="color: rgb(51, 51, 51); font-family: &#39;Microsoft Yahei&#39;, arial, sans-serif; line-height: 30px; white-space: pre-wrap; background-color: rgb(255, 255, 255);"/>14.	为自己加油,为自己喝彩,我行我可以!<br style="color: rgb(51, 51, 51); font-family: &#39;Microsoft Yahei&#39;, arial, sans-serif; line-height: 30px; white-space: pre-wrap; background-color: rgb(255, 255, 255);"/>15.	勇攀高峰,不断向上<br style="color: rgb(51, 51, 51); font-family: &#39;Microsoft Yahei&#39;, arial, sans-serif; line-height: 30px; white-space: pre-wrap; background-color: rgb(255, 255, 255);"/>16.	今天一小步,明天一大步!&gt;</p>', 15, 28, 0, CONVERT(TEXT, N'100$2017/11/14 10:36:49$123456$游客$0$$'), 116962, N'teacher', 12, 1, 3, 1050, 116810, N'kunpark')
INSERT [KS_BBSBoard] ([BoardID], [BoardName], [ParentID], [Root], [Depth], [OrderID], [ParentIDPath], [Child], [PrevID], [NextID], [AddDate], [Setting], [BoardMaster], [ICO], [Intro], [BoardRules], [TopicNum], [PostNum], [TodayNum], [LastPost], [UserId], [UserName], [ClassRoomId], [ClassStatus], [StudentNum], [Hits], [SchoolID], [SchoolName]) VALUES (30, CONVERT(TEXT, N'篮球小组'), 1, 0, 0, 0, NULL, 0, 0, 0, CAST(0x0000A7D100F4AC3D AS DateTime), N'$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$20$$$$$$$$$$$$$$$$$$$$1$$$$0$$$$$$$$$$$$0$$$$0$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$0$$$$0$$$$$$$$$$$$', CONVERT(TEXT, N'Mr.王'), CONVERT(TEXT, N'/UploadFiles/user/116974/31314732898280512.jpg'), CONVERT(TEXT, N'应当劳逸结合，该考试的时候考试，该休息的时候休息，不能把自己逼的太紧绷，这样很容易累坏。'), N'<p>没有组规，随意只有发挥</p>', 1, 1, 0, CONVERT(TEXT, N'88$2017/10/13 12:17:40$fsdfsdf$333$117039$$'), 116974, N'teacher1', 21, 1, 0, 45, NULL, NULL)
INSERT [KS_BBSBoard] ([BoardID], [BoardName], [ParentID], [Root], [Depth], [OrderID], [ParentIDPath], [Child], [PrevID], [NextID], [AddDate], [Setting], [BoardMaster], [ICO], [Intro], [BoardRules], [TopicNum], [PostNum], [TodayNum], [LastPost], [UserId], [UserName], [ClassRoomId], [ClassStatus], [StudentNum], [Hits], [SchoolID], [SchoolName]) VALUES (31, CONVERT(TEXT, N'足球小组'), 1, 0, 0, 0, NULL, 0, 0, 0, CAST(0x0000A7D100F4A275 AS DateTime), N'$$$$$$$$$$$$1$$$$5$$$$5$$$$5$$$$5$$$$20$$$$1$$$$$$$$$$$$0$$$$1$$$$0$$$$0$$$$0$$$$0$$$$0$$$$10$$$$10$$$$10$$$$10$$$$10$$$$5$$$$5$$$$1$$$$1', CONVERT(TEXT, N'Mr.王'), CONVERT(TEXT, N'/UploadFiles/user/116974/O1314733976912806.png'), CONVERT(TEXT, N'足球兴趣小班。'), N'<p>招有兴趣的同学一起踢足球。</p>', 7, 18, 0, CONVERT(TEXT, N'143$2018/6/29 16:27:24$222$c1$117353$$'), 116974, N'teacher1', 21, 1, 4, 311, NULL, NULL)
INSERT [KS_BBSBoard] ([BoardID], [BoardName], [ParentID], [Root], [Depth], [OrderID], [ParentIDPath], [Child], [PrevID], [NextID], [AddDate], [Setting], [BoardMaster], [ICO], [Intro], [BoardRules], [TopicNum], [PostNum], [TodayNum], [LastPost], [UserId], [UserName], [ClassRoomId], [ClassStatus], [StudentNum], [Hits], [SchoolID], [SchoolName]) VALUES (32, CONVERT(TEXT, N'百科植物兴趣小组'), 1, 0, 0, 0, NULL, 0, 0, 0, CAST(0x0000A7DA00FEAE2A AS DateTime), N'$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$20$$$$$$$$$$$$$$$$$$$$1$$$$0$$$$$$$$$$$$0$$$$0$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$0$$$$0$$$$$$$$$$$$', CONVERT(TEXT, N''), CONVERT(TEXT, N'/UploadFiles/user/116962/71314811417670514.jpg'), CONVERT(TEXT, N'专注，是兴趣小组的核心要求之一。
不论你是否拥有专业知识背景，只要您对热爱植物，拥有一定的知识积累，都欢迎你加入。当然我们也非常期待学术大牛给予我们更多指导。'), N'<ol class=" list-paddingleft-2" style="list-style-type: decimal;"><li><p>热爱植物，热爱小组</p></li><li><p>文明发言</p><p>&nbsp;</p></li></ol>', 0, 0, 0, NULL, 116962, N'teacher', NULL, 0, 0, 80, 116810, N'kunpark')
INSERT [KS_BBSBoard] ([BoardID], [BoardName], [ParentID], [Root], [Depth], [OrderID], [ParentIDPath], [Child], [PrevID], [NextID], [AddDate], [Setting], [BoardMaster], [ICO], [Intro], [BoardRules], [TopicNum], [PostNum], [TodayNum], [LastPost], [UserId], [UserName], [ClassRoomId], [ClassStatus], [StudentNum], [Hits], [SchoolID], [SchoolName]) VALUES (39, CONVERT(TEXT, N'美术兴趣小组'), 1, 0, 0, 0, NULL, 0, 0, 0, CAST(0x0000A7DA01017ACD AS DateTime), N'$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$20$$$$$$$$$$$$$$$$$$$$1$$$$0$$$$$$$$$$$$0$$$$0$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$0$$$$0$$$$$$$$$$$$', CONVERT(TEXT, N''), CONVERT(TEXT, N'/UploadFiles/user/116962/21314812024576827.jpg'), CONVERT(TEXT, N'专注，是兴趣小组的核心要求之一。
不论你是否拥有专业知识背景，只要您对热爱美术，拥有一定的知识积累，都欢迎你加入。当然我们也非常期待学术大牛给予我们更多指导。'), N'<ol class=" list-paddingleft-2" style="list-style-type: decimal;"><li><p>热爱美术，热爱小组</p></li><li><p>文明发言</p></li></ol>', 0, 0, 0, NULL, 116962, N'teacher', NULL, 0, 0, 72, 116810, N'kunpark')
INSERT [KS_BBSBoard] ([BoardID], [BoardName], [ParentID], [Root], [Depth], [OrderID], [ParentIDPath], [Child], [PrevID], [NextID], [AddDate], [Setting], [BoardMaster], [ICO], [Intro], [BoardRules], [TopicNum], [PostNum], [TodayNum], [LastPost], [UserId], [UserName], [ClassRoomId], [ClassStatus], [StudentNum], [Hits], [SchoolID], [SchoolName]) VALUES (41, CONVERT(TEXT, N'音乐小组'), 1, 0, 0, 0, NULL, 0, 0, 0, CAST(0x0000A850009E6556 AS DateTime), N'$$$$$$$$5$$$$1$$$$5$$$$5$$$$5$$$$5$$$$20$$$$1$$$$$$$$$$$$0$$$$1$$$$0$$$$5$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$1$$$$0', CONVERT(TEXT, N''), CONVERT(TEXT, N'/UploadFiles/user/116962/01314812038336314.jpg'), CONVERT(TEXT, N'专注，是兴趣小组的核心要求之一。
不论你是否拥有专业知识背景，只要您对热爱音乐，拥有一定的知识积累，都欢迎你加入。当然我们也非常期待学术大牛给予我们更多指导。'), N'<ol class=" list-paddingleft-2" style="list-style-type: decimal;"><li><p>热爱音乐，热爱小组<br/></p></li><li><p>文明发言，畅所欲言</p></li><li><p>积极参与，谢绝偷懒<br/></p></li></ol>', 7, 12, 0, CONVERT(TEXT, N'144$2018/7/6 15:09:48$听说鬼吹灯之精绝古城是豆瓣高分剧呀$mo1$117549$$'), 116962, N'teacher', NULL, 0, 4, 250, 0, N'kunpark')
INSERT [KS_BBSBoard] ([BoardID], [BoardName], [ParentID], [Root], [Depth], [OrderID], [ParentIDPath], [Child], [PrevID], [NextID], [AddDate], [Setting], [BoardMaster], [ICO], [Intro], [BoardRules], [TopicNum], [PostNum], [TodayNum], [LastPost], [UserId], [UserName], [ClassRoomId], [ClassStatus], [StudentNum], [Hits], [SchoolID], [SchoolName]) VALUES (42, CONVERT(TEXT, N'书法兴趣小组'), 1, 0, 0, 0, NULL, 0, 0, 0, CAST(0x0000A7DA0102B3CC AS DateTime), N'$$$$$$$$$$$$1$$$$$$$$$$$$$$$$$$$$20$$$$1$$$$$$$$$$$$0$$$$1$$$$0$$$$$$$$$$$$0$$$$0$$$$1$$$$$$$$$$$$$$$$$$$$$$$$$$$$0$$$$0', CONVERT(TEXT, N'陈思思'), CONVERT(TEXT, N'/UploadFiles/user/116962/71314812044512267.jpg'), CONVERT(TEXT, N'专注，是兴趣小组的核心要求之一。
不论你是否拥有专业知识背景，只要您对热爱热爱，拥有一定的知识积累，都欢迎你加入。当然我们也非常期待学术大牛给予我们更多指导。'), N'<ol class=" list-paddingleft-2" style="list-style-type: decimal;"><li><p>热爱书法，热爱小组<br/></p></li><li><p>积极参与，谢绝偷懒</p></li><li><p>文明发言，畅所欲言</p><p><br/></p></li></ol>', 2, 2, 0, CONVERT(TEXT, N'128$2018/5/17 10:29:39$书法大师可以教我怎么样入门吗$q2$117589$$'), 116962, N'teacher', NULL, 0, 0, 58, 116810, N'kunpark')
INSERT [KS_BBSBoard] ([BoardID], [BoardName], [ParentID], [Root], [Depth], [OrderID], [ParentIDPath], [Child], [PrevID], [NextID], [AddDate], [Setting], [BoardMaster], [ICO], [Intro], [BoardRules], [TopicNum], [PostNum], [TodayNum], [LastPost], [UserId], [UserName], [ClassRoomId], [ClassStatus], [StudentNum], [Hits], [SchoolID], [SchoolName]) VALUES (43, CONVERT(TEXT, N'中国画兴趣小组'), 1, 0, 0, 0, NULL, 0, 0, 0, CAST(0x0000A7DA01031099 AS DateTime), N'$$$$$$$$$$$$1$$$$$$$$$$$$$$$$$$$$20$$$$1$$$$$$$$$$$$0$$$$1$$$$0$$$$$$$$$$$$0$$$$0$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$0$$$$0', CONVERT(TEXT, N'Carrie'), CONVERT(TEXT, N'/UploadFiles/user/116962/11314812056059928.jpg'), CONVERT(TEXT, N'专注，是兴趣小组的核心要求之一。
不论你是否拥有专业知识背景，只要您对热爱国画，拥有一定的知识积累，都欢迎你加入。当然我们也非常期待学术大牛给予我们更多指导。'), N'<ol class=" list-paddingleft-2" style="list-style-type: decimal;"><li><p>积极发言，谢绝偷懒<br/></p></li><li><p>热爱小组，热爱国画</p></li><li><p>文明发言，畅所欲言<br/></p></li></ol>', 1, 2, 0, CONVERT(TEXT, N'86$2017/10/26 19:10:48$说两句^_^$tttttt$116815$$'), 116962, N'teacher', NULL, 0, 0, 122, 116810, N'kunpark')
INSERT [KS_BBSBoard] ([BoardID], [BoardName], [ParentID], [Root], [Depth], [OrderID], [ParentIDPath], [Child], [PrevID], [NextID], [AddDate], [Setting], [BoardMaster], [ICO], [Intro], [BoardRules], [TopicNum], [PostNum], [TodayNum], [LastPost], [UserId], [UserName], [ClassRoomId], [ClassStatus], [StudentNum], [Hits], [SchoolID], [SchoolName]) VALUES (44, CONVERT(TEXT, N'舞蹈小组'), 1, 0, 0, 0, NULL, 0, 0, 0, CAST(0x0000A85000A216A3 AS DateTime), N'$$$$$$$$5$$$$1$$$$5$$$$5$$$$5$$$$5$$$$20$$$$1$$$$$$$$$$$$0$$$$1$$$$0$$$$8$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$1$$$$1', CONVERT(TEXT, N''), CONVERT(TEXT, N'/UploadFiles/user/116962/X1314812076576501.jpg'), CONVERT(TEXT, N'专注，是兴趣小组的核心要求之一。
不论你是否拥有专业知识背景，只要您对热爱舞蹈，拥有一定的知识积累，都欢迎你加入。当然我们也非常期待学术大牛给予我们更多指导。'), N'<ol class=" list-paddingleft-2" style="list-style-type: decimal;"><li><p>热爱舞蹈，热爱小组</p></li><li><p>积极发言，畅所欲言</p><p><br/></p></li></ol>', 24, 27, 0, CONVERT(TEXT, N'126$2018/5/17 10:28:47$舞蹈练成需要多久呢，会很辛苦吗$q2$117589$$'), 116962, N'teacher', NULL, 0, 20, 759, 0, N'kunpark')
INSERT [KS_BBSBoard] ([BoardID], [BoardName], [ParentID], [Root], [Depth], [OrderID], [ParentIDPath], [Child], [PrevID], [NextID], [AddDate], [Setting], [BoardMaster], [ICO], [Intro], [BoardRules], [TopicNum], [PostNum], [TodayNum], [LastPost], [UserId], [UserName], [ClassRoomId], [ClassStatus], [StudentNum], [Hits], [SchoolID], [SchoolName]) VALUES (47, CONVERT(TEXT, N'旅游'), 0, 9, 1, 0, CONVERT(TEXT, N'0'), 0, 24, 48, CAST(0x0000A7E8012A32DA AS DateTime), N'$$$$$$$$0$$$$1$$$$5$$$$5$$$$100$$$$10$$$$20$$$$1$$$$$$$$$$$$0$$$$1$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0', CONVERT(TEXT, N''), CONVERT(TEXT, N'/UploadFiles/G131235868097623.jpg'), CONVERT(TEXT, N'旅游的分享心得
观看视频的感受'), N'', 0, 0, 0, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, NULL)
INSERT [KS_BBSBoard] ([BoardID], [BoardName], [ParentID], [Root], [Depth], [OrderID], [ParentIDPath], [Child], [PrevID], [NextID], [AddDate], [Setting], [BoardMaster], [ICO], [Intro], [BoardRules], [TopicNum], [PostNum], [TodayNum], [LastPost], [UserId], [UserName], [ClassRoomId], [ClassStatus], [StudentNum], [Hits], [SchoolID], [SchoolName]) VALUES (48, CONVERT(TEXT, N'观后感'), 0, 10, 1, 0, CONVERT(TEXT, N'0'), 0, 47, 0, CAST(0x0000A7E8012A32E1 AS DateTime), N'$$$$$$$$0$$$$1$$$$5$$$$5$$$$100$$$$10$$$$20$$$$1$$$$$$$$$$$$0$$$$1$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0', CONVERT(TEXT, N''), CONVERT(TEXT, N'/UploadFiles/G131235868097623.jpg'), CONVERT(TEXT, N'旅游的分享心得
观看视频的感受'), N'', 0, 0, 0, NULL, NULL, NULL, NULL, NULL, 0, 1, 0, NULL)
INSERT [KS_BBSBoard] ([BoardID], [BoardName], [ParentID], [Root], [Depth], [OrderID], [ParentIDPath], [Child], [PrevID], [NextID], [AddDate], [Setting], [BoardMaster], [ICO], [Intro], [BoardRules], [TopicNum], [PostNum], [TodayNum], [LastPost], [UserId], [UserName], [ClassRoomId], [ClassStatus], [StudentNum], [Hits], [SchoolID], [SchoolName]) VALUES (65, CONVERT(TEXT, N'JavaScript小组'), 1, 1, 2, 1, CONVERT(TEXT, N'0,1'), 0, 0, 0, CAST(0x0000A8BF00F9C6A3 AS DateTime), N'$$$$$$$$0$$$$1$$$$5$$$$5$$$$100$$$$10$$$$20$$$$1$$$$$$$$$$$$0$$$$1$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$1$$$$0', CONVERT(TEXT, N''), CONVERT(TEXT, N'/UploadFiles/2018/75/L131679041800501.png'), CONVERT(TEXT, N'喜欢JavaScript的人可以进来一起探讨一下。'), N'', 5, 6, 0, CONVERT(TEXT, N'138$2018/6/25 16:32:59$ytttttttttttttttttttttttttt$test32$117682$$'), NULL, NULL, NULL, NULL, 11, 291, 0, NULL)
INSERT [KS_BBSBoard] ([BoardID], [BoardName], [ParentID], [Root], [Depth], [OrderID], [ParentIDPath], [Child], [PrevID], [NextID], [AddDate], [Setting], [BoardMaster], [ICO], [Intro], [BoardRules], [TopicNum], [PostNum], [TodayNum], [LastPost], [UserId], [UserName], [ClassRoomId], [ClassStatus], [StudentNum], [Hits], [SchoolID], [SchoolName]) VALUES (71, CONVERT(TEXT, N'111'), 1, 0, 0, 0, CONVERT(TEXT, N'0,1'), 0, 0, 0, CAST(0x0000A8E700A57A32 AS DateTime), N'$$$$$$$$5$$$$$$$$5$$$$5$$$$5$$$$5$$$$20$$$$$$$$$$$$$$$$$$$$1$$$$0$$$$5$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$$$$$$$$$', CONVERT(TEXT, N''), CONVERT(TEXT, N'/UploadFiles/user/116962/81317134174533768.jpg'), CONVERT(TEXT, N''), N'', 0, 0, 0, NULL, 116962, N'teacher', NULL, NULL, 0, 3, 0, NULL)
INSERT [KS_BBSBoard] ([BoardID], [BoardName], [ParentID], [Root], [Depth], [OrderID], [ParentIDPath], [Child], [PrevID], [NextID], [AddDate], [Setting], [BoardMaster], [ICO], [Intro], [BoardRules], [TopicNum], [PostNum], [TodayNum], [LastPost], [UserId], [UserName], [ClassRoomId], [ClassStatus], [StudentNum], [Hits], [SchoolID], [SchoolName]) VALUES (72, CONVERT(TEXT, N'机构小组'), 22, 0, 0, 0, CONVERT(TEXT, N'0,22'), 0, 0, 0, CAST(0x0000A8F500AC7B37 AS DateTime), N'$$$$$$$$5$$$$1$$$$5$$$$5$$$$5$$$$5$$$$20$$$$1$$$$$$$$$$$$0$$$$0$$$$1$$$$5$$$$0$$$$10$$$$18$$$$11111$$$$222222$$$$3$$$$4$$$$5$$$$2$$$$7$$$$0$$$$0', CONVERT(TEXT, N''), CONVERT(TEXT, N'/UploadFiles/user/117060/21314958260388952.jpg'), CONVERT(TEXT, N'小组介绍小组介绍小组介绍小组介绍小组介绍小组介绍小组介绍小组介绍小组介绍'), N'<p><span style="color: rgb(100, 113, 113); font-family: Arial, " hiragino="" sans="" microsoft="" font-size:="" text-align:="" background-color:="">小组组规</span><span style="color: rgb(100, 113, 113); font-family: Arial, " hiragino="" sans="" microsoft="" font-size:="" text-align:="" background-color:="">小组组规</span><span style="color: rgb(100, 113, 113); font-family: Arial, " hiragino="" sans="" microsoft="" font-size:="" text-align:="" background-color:="">小组组规</span><span style="color: rgb(100, 113, 113); font-family: Arial, " hiragino="" sans="" microsoft="" font-size:="" text-align:="" background-color:="">小组组规</span><span style="color: rgb(100, 113, 113); font-family: Arial, " hiragino="" sans="" microsoft="" font-size:="" text-align:="" background-color:="">小组组规</span><span style="color: rgb(100, 113, 113); font-family: Arial, " hiragino="" sans="" microsoft="" font-size:="" text-align:="" background-color:="">小组组规</span><span style="color: rgb(100, 113, 113); font-family: Arial, " hiragino="" sans="" microsoft="" font-size:="" text-align:="" background-color:="">小组组规</span><span style="color: rgb(100, 113, 113); font-family: Arial, " hiragino="" sans="" microsoft="" font-size:="" text-align:="" background-color:="">小组组规</span><span style="color: rgb(100, 113, 113); font-family: Arial, " hiragino="" sans="" microsoft="" font-size:="" text-align:="" background-color:="">小组组规</span><span style="color: rgb(100, 113, 113); font-family: Arial, " hiragino="" sans="" microsoft="" font-size:="" text-align:="" background-color:="">小组组规</span><span style="color: rgb(100, 113, 113); font-family: Arial, " hiragino="" sans="" microsoft="" font-size:="" text-align:="" background-color:="">小组组规</span></p>', 5, 5, 0, CONVERT(TEXT, N'136$2018/6/15 11:24:11$你还怕大雨吗，是不是还留短头发$mo1$117549$$'), 117060, N'pig1', NULL, NULL, 0, 137, 117060, N'机构')
INSERT [KS_BBSBoard] ([BoardID], [BoardName], [ParentID], [Root], [Depth], [OrderID], [ParentIDPath], [Child], [PrevID], [NextID], [AddDate], [Setting], [BoardMaster], [ICO], [Intro], [BoardRules], [TopicNum], [PostNum], [TodayNum], [LastPost], [UserId], [UserName], [ClassRoomId], [ClassStatus], [StudentNum], [Hits], [SchoolID], [SchoolName]) VALUES (74, CONVERT(TEXT, N'1'), 24, 0, 0, 0, CONVERT(TEXT, N'0,24'), 0, 0, 0, CAST(0x0000A8E7012C0051 AS DateTime), N'$$$$$$$$5$$$$1$$$$5$$$$5$$$$5$$$$5$$$$20$$$$1$$$$$$$$$$$$0$$$$1$$$$0$$$$5$$$$0$$$$0$$$$0$$$$1111111111111111111111$$$$3$$$$0$$$$0$$$$0$$$$0$$$$0$$$$1$$$$0', CONVERT(TEXT, N'1,111,1121.看了卡卡卡'), CONVERT(TEXT, N'/UploadFiles/user/117621/Z1317137109379731.jpg'), CONVERT(TEXT, N'1'), N'<p>1</p>', 1, 2, 0, CONVERT(TEXT, N'131$2018/5/23 10:18:07$这是一段测试字数的这是一段测试字数的这是一段测试字数的这是一$q2$117589$$'), 117621, N'xin22', NULL, NULL, 1, 43, 0, NULL)
INSERT [KS_BBSBoard] ([BoardID], [BoardName], [ParentID], [Root], [Depth], [OrderID], [ParentIDPath], [Child], [PrevID], [NextID], [AddDate], [Setting], [BoardMaster], [ICO], [Intro], [BoardRules], [TopicNum], [PostNum], [TodayNum], [LastPost], [UserId], [UserName], [ClassRoomId], [ClassStatus], [StudentNum], [Hits], [SchoolID], [SchoolName]) VALUES (75, CONVERT(TEXT, N'111'), 1, 0, 0, 0, CONVERT(TEXT, N'0,1'), 0, 0, 0, CAST(0x0000A8F7011E549A AS DateTime), N'$$$$$$$$5$$$$$$$$5$$$$5$$$$5$$$$5$$$$20$$$$$$$$$$$$$$$$$$$$1$$$$0$$$$5$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$0$$$$$$$$$$$$', CONVERT(TEXT, N''), CONVERT(TEXT, N'/UploadFiles/user/116821/81317275054722401.jpg'), CONVERT(TEXT, N''), N'', 0, 0, 0, NULL, 116821, N'kun2', NULL, NULL, 0, 34, 116821, N'北京中公教育科技股份有限公司')
SET IDENTITY_INSERT [KS_BBSBoard] OFF
/****** Object:  Default [DF__KS_BBSBoa__Paren__2DA7A64D]    Script Date: 09/07/2018 17:58:06 ******/
ALTER TABLE [KS_BBSBoard] ADD  CONSTRAINT [DF__KS_BBSBoa__Paren__2DA7A64D]  DEFAULT ((0)) FOR [ParentID]
GO
/****** Object:  Default [DF__KS_BBSBoar__Root__2E9BCA86]    Script Date: 09/07/2018 17:58:06 ******/
ALTER TABLE [KS_BBSBoard] ADD  CONSTRAINT [DF__KS_BBSBoar__Root__2E9BCA86]  DEFAULT ((0)) FOR [Root]
GO
/****** Object:  Default [DF__KS_BBSBoa__Depth__2F8FEEBF]    Script Date: 09/07/2018 17:58:06 ******/
ALTER TABLE [KS_BBSBoard] ADD  CONSTRAINT [DF__KS_BBSBoa__Depth__2F8FEEBF]  DEFAULT ((0)) FOR [Depth]
GO
/****** Object:  Default [DF__KS_BBSBoa__Order__308412F8]    Script Date: 09/07/2018 17:58:06 ******/
ALTER TABLE [KS_BBSBoard] ADD  CONSTRAINT [DF__KS_BBSBoa__Order__308412F8]  DEFAULT ((0)) FOR [OrderID]
GO
/****** Object:  Default [DF__KS_BBSBoa__Child__31783731]    Script Date: 09/07/2018 17:58:06 ******/
ALTER TABLE [KS_BBSBoard] ADD  CONSTRAINT [DF__KS_BBSBoa__Child__31783731]  DEFAULT ((0)) FOR [Child]
GO
/****** Object:  Default [DF__KS_BBSBoa__PrevI__326C5B6A]    Script Date: 09/07/2018 17:58:06 ******/
ALTER TABLE [KS_BBSBoard] ADD  CONSTRAINT [DF__KS_BBSBoa__PrevI__326C5B6A]  DEFAULT ((0)) FOR [PrevID]
GO
/****** Object:  Default [DF__KS_BBSBoa__NextI__33607FA3]    Script Date: 09/07/2018 17:58:06 ******/
ALTER TABLE [KS_BBSBoard] ADD  CONSTRAINT [DF__KS_BBSBoa__NextI__33607FA3]  DEFAULT ((0)) FOR [NextID]
GO
/****** Object:  Default [DF__KS_BBSBoa__Topic__3454A3DC]    Script Date: 09/07/2018 17:58:06 ******/
ALTER TABLE [KS_BBSBoard] ADD  CONSTRAINT [DF__KS_BBSBoa__Topic__3454A3DC]  DEFAULT ((0)) FOR [TopicNum]
GO
/****** Object:  Default [DF__KS_BBSBoa__PostN__3548C815]    Script Date: 09/07/2018 17:58:06 ******/
ALTER TABLE [KS_BBSBoard] ADD  CONSTRAINT [DF__KS_BBSBoa__PostN__3548C815]  DEFAULT ((0)) FOR [PostNum]
GO
/****** Object:  Default [DF__KS_BBSBoa__Today__363CEC4E]    Script Date: 09/07/2018 17:58:06 ******/
ALTER TABLE [KS_BBSBoard] ADD  CONSTRAINT [DF__KS_BBSBoa__Today__363CEC4E]  DEFAULT ((0)) FOR [TodayNum]
GO
/****** Object:  Default [DF_KS_BBSBoard_studentnum]    Script Date: 09/07/2018 17:58:06 ******/
ALTER TABLE [KS_BBSBoard] ADD  CONSTRAINT [DF_KS_BBSBoard_studentnum]  DEFAULT ((0)) FOR [StudentNum]
GO
/****** Object:  Default [DF_KS_BBSBoard_Hits]    Script Date: 09/07/2018 17:58:06 ******/
ALTER TABLE [KS_BBSBoard] ADD  CONSTRAINT [DF_KS_BBSBoard_Hits]  DEFAULT ((0)) FOR [Hits]
GO
/****** Object:  Default [DF_KS_BBSBoard_SchoolID]    Script Date: 09/07/2018 17:58:06 ******/
ALTER TABLE [KS_BBSBoard] ADD  CONSTRAINT [DF_KS_BBSBoard_SchoolID]  DEFAULT ((0)) FOR [SchoolID]
GO
/****** Object:  Default [DF__KS_BBSPos__Topic__391958F9]    Script Date: 09/07/2018 17:58:06 ******/
ALTER TABLE [KS_BBSPost] ADD  DEFAULT ((0)) FOR [TopicID]
GO
/****** Object:  Default [DF__KS_BBSPos__Verif__3A0D7D32]    Script Date: 09/07/2018 17:58:06 ******/
ALTER TABLE [KS_BBSPost] ADD  DEFAULT ((0)) FOR [Verify]
GO
/****** Object:  Default [DF__KS_BBSPos__UserI__3B01A16B]    Script Date: 09/07/2018 17:58:06 ******/
ALTER TABLE [KS_BBSPost] ADD  DEFAULT ((0)) FOR [UserId]
GO
/****** Object:  Default [DF__KS_BBSRan__IsSys__3DDE0E16]    Script Date: 09/07/2018 17:58:06 ******/
ALTER TABLE [KS_BBSRank] ADD  DEFAULT ((0)) FOR [IsSys]
GO
/****** Object:  Default [DF__KS_BBSRan__Score__3ED2324F]    Script Date: 09/07/2018 17:58:06 ******/
ALTER TABLE [KS_BBSRank] ADD  DEFAULT ((0)) FOR [Score]
GO
/****** Object:  Default [DF__KS_BBSRan__Topic__3FC65688]    Script Date: 09/07/2018 17:58:06 ******/
ALTER TABLE [KS_BBSRank] ADD  DEFAULT ((0)) FOR [TopicNum]
GO
/****** Object:  Default [DF__KS_BBSTab__IsDef__42A2C333]    Script Date: 09/07/2018 17:58:06 ******/
ALTER TABLE [KS_BBSTable] ADD  DEFAULT ((0)) FOR [IsDefault]
GO
/****** Object:  Default [DF__KS_BBSTab__IsSys__4396E76C]    Script Date: 09/07/2018 17:58:06 ******/
ALTER TABLE [KS_BBSTable] ADD  DEFAULT ((0)) FOR [IsSys]
GO
/****** Object:  Default [DF__KS_BBSTop__board__46735417]    Script Date: 09/07/2018 17:58:06 ******/
ALTER TABLE [KS_BBSTopic] ADD  DEFAULT ((0)) FOR [boardId]
GO
/****** Object:  Default [DF__KS_BBSTop__UserI__47677850]    Script Date: 09/07/2018 17:58:06 ******/
ALTER TABLE [KS_BBSTopic] ADD  DEFAULT ((0)) FOR [UserId]
GO
/****** Object:  Default [DF_KS_BBSTopic_AddDate]    Script Date: 09/07/2018 17:58:06 ******/
ALTER TABLE [KS_BBSTopic] ADD  CONSTRAINT [DF_KS_BBSTopic_AddDate]  DEFAULT (getdate()) FOR [AddDate]
GO
/****** Object:  Default [DF__KS_BBSTop__verif__485B9C89]    Script Date: 09/07/2018 17:58:06 ******/
ALTER TABLE [KS_BBSTopic] ADD  DEFAULT ((0)) FOR [verify]
GO
/****** Object:  Default [DF__KS_BBSTop__IsTop__494FC0C2]    Script Date: 09/07/2018 17:58:06 ******/
ALTER TABLE [KS_BBSTopic] ADD  DEFAULT ((0)) FOR [IsTop]
GO
/****** Object:  Default [DF__KS_BBSTopi__Hits__4A43E4FB]    Script Date: 09/07/2018 17:58:06 ******/
ALTER TABLE [KS_BBSTopic] ADD  DEFAULT ((0)) FOR [Hits]
GO
/****** Object:  Default [DF__KS_BBSTop__PostN__4B380934]    Script Date: 09/07/2018 17:58:06 ******/
ALTER TABLE [KS_BBSTopic] ADD  DEFAULT ((0)) FOR [PostNum]
GO
/****** Object:  Default [DF__KS_BBSTopi__Digg__4C2C2D6D]    Script Date: 09/07/2018 17:58:06 ******/
ALTER TABLE [KS_BBSTopic] ADD  DEFAULT ((0)) FOR [Digg]
GO
/****** Object:  Default [DF__KS_BBSTop__IsBes__4D2051A6]    Script Date: 09/07/2018 17:58:06 ******/
ALTER TABLE [KS_BBSTopic] ADD  DEFAULT ((0)) FOR [IsBest]
GO
