MySchool
Posted WuXuanKun
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了MySchool相关的知识,希望对你有一定的参考价值。
USE [MySchool] GO /****** Object: Table [dbo].[Grade] Script Date: 08/06/2014 15:03:17 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[Grade]( [GradeId] [int] IDENTITY(1,1) NOT NULL, [GradeName] [nvarchar](50) NOT NULL, CONSTRAINT [PK_Grade_1] PRIMARY KEY CLUSTERED ( [GradeId] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY], CONSTRAINT [IX_Grade_GradeName] UNIQUE NONCLUSTERED ( [GradeId] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] GO SET IDENTITY_INSERT [dbo].[Grade] ON INSERT [dbo].[Grade] ([GradeId], [GradeName]) VALUES (1, N‘S1‘) INSERT [dbo].[Grade] ([GradeId], [GradeName]) VALUES (2, N‘S2‘) INSERT [dbo].[Grade] ([GradeId], [GradeName]) VALUES (3, N‘Y2‘) INSERT [dbo].[Grade] ([GradeId], [GradeName]) VALUES (4, N‘精英班‘) INSERT [dbo].[Grade] ([GradeId], [GradeName]) VALUES (11, N‘zhanan‘) INSERT [dbo].[Grade] ([GradeId], [GradeName]) VALUES (12, N‘S1288无敌班‘) INSERT [dbo].[Grade] ([GradeId], [GradeName]) VALUES (13, N‘高一二班‘) INSERT [dbo].[Grade] ([GradeId], [GradeName]) VALUES (14, N‘高一三班‘) INSERT [dbo].[Grade] ([GradeId], [GradeName]) VALUES (15, N‘高一一班‘) INSERT [dbo].[Grade] ([GradeId], [GradeName]) VALUES (16, N‘高一1班‘) INSERT [dbo].[Grade] ([GradeId], [GradeName]) VALUES (17, N‘高一2班‘) INSERT [dbo].[Grade] ([GradeId], [GradeName]) VALUES (18, N‘高一3班‘) INSERT [dbo].[Grade] ([GradeId], [GradeName]) VALUES (19, N‘aa‘) INSERT [dbo].[Grade] ([GradeId], [GradeName]) VALUES (20, N‘mine‘) INSERT [dbo].[Grade] ([GradeId], [GradeName]) VALUES (21, N‘mine‘) INSERT [dbo].[Grade] ([GradeId], [GradeName]) VALUES (22, N‘mine‘) INSERT [dbo].[Grade] ([GradeId], [GradeName]) VALUES (23, N‘mine‘) INSERT [dbo].[Grade] ([GradeId], [GradeName]) VALUES (26, N‘无敌S2214‘) INSERT [dbo].[Grade] ([GradeId], [GradeName]) VALUES (27, N‘无敌S2214‘) INSERT [dbo].[Grade] ([GradeId], [GradeName]) VALUES (28, N‘好人2214‘) INSERT [dbo].[Grade] ([GradeId], [GradeName]) VALUES (30, N‘aa‘) INSERT [dbo].[Grade] ([GradeId], [GradeName]) VALUES (31, N‘bb‘) INSERT [dbo].[Grade] ([GradeId], [GradeName]) VALUES (32, N‘cc‘) INSERT [dbo].[Grade] ([GradeId], [GradeName]) VALUES (33, N‘dd‘) INSERT [dbo].[Grade] ([GradeId], [GradeName]) VALUES (34, N‘S2216‘) INSERT [dbo].[Grade] ([GradeId], [GradeName]) VALUES (48, N‘S2216第二个班‘) INSERT [dbo].[Grade] ([GradeId], [GradeName]) VALUES (49, N‘S2216终结版‘) INSERT [dbo].[Grade] ([GradeId], [GradeName]) VALUES (51, N‘JDBC测试啊啊啊啊‘) INSERT [dbo].[Grade] ([GradeId], [GradeName]) VALUES (52, N‘JDBC测试啊啊啊啊2‘) INSERT [dbo].[Grade] ([GradeId], [GradeName]) VALUES (53, N‘JDBC测试啊啊啊啊2‘) INSERT [dbo].[Grade] ([GradeId], [GradeName]) VALUES (54, N‘DBC啊速度速度‘) INSERT [dbo].[Grade] ([GradeId], [GradeName]) VALUES (55, N‘DBC阿萨德完全‘) INSERT [dbo].[Grade] ([GradeId], [GradeName]) VALUES (56, N‘DBC阿萨德完全‘) INSERT [dbo].[Grade] ([GradeId], [GradeName]) VALUES (57, N‘DBC阿萨德完全‘) INSERT [dbo].[Grade] ([GradeId], [GradeName]) VALUES (58, N‘aa‘) INSERT [dbo].[Grade] ([GradeId], [GradeName]) VALUES (59, N‘bb‘) INSERT [dbo].[Grade] ([GradeId], [GradeName]) VALUES (60, N‘aaa‘‘‘) INSERT [dbo].[Grade] ([GradeId], [GradeName]) VALUES (61, N‘ccc‘) INSERT [dbo].[Grade] ([GradeId], [GradeName]) VALUES (62, N‘1‘) INSERT [dbo].[Grade] ([GradeId], [GradeName]) VALUES (63, N‘s1‘) SET IDENTITY_INSERT [dbo].[Grade] OFF /****** Object: Table [dbo].[Subject] Script Date: 08/06/2014 15:03:17 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[Subject]( [SubjectId] [int] IDENTITY(1,1) NOT NULL, [SubjectName] [nchar](10) NOT NULL, [ClassHour] [int] NULL, [GradeId] [int] NOT NULL, CONSTRAINT [PK_Subject] PRIMARY KEY CLUSTERED ( [SubjectId] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] GO SET IDENTITY_INSERT [dbo].[Subject] ON INSERT [dbo].[Subject] ([SubjectId], [SubjectName], [ClassHour], [GradeId]) VALUES (1, N‘oop ‘, 78, 1) INSERT [dbo].[Subject] ([SubjectId], [SubjectName], [ClassHour], [GradeId]) VALUES (2, N‘java ‘, 67, 2) INSERT [dbo].[Subject] ([SubjectId], [SubjectName], [ClassHour], [GradeId]) VALUES (3, N‘C# ‘, 78, 3) INSERT [dbo].[Subject] ([SubjectId], [SubjectName], [ClassHour], [GradeId]) VALUES (4, N‘分层开发 ‘, 24, 2) SET IDENTITY_INSERT [dbo].[Subject] OFF /****** Object: Table [dbo].[Student] Script Date: 08/06/2014 15:03:17 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO SET ANSI_PADDING ON GO CREATE TABLE [dbo].[Student]( [StudentNo] [int] IDENTITY(1000,1) NOT NULL, [LoginPwd] [nvarchar](50) NOT NULL, [StudentName] [nvarchar](50) NOT NULL, [Gender] [char](1) NULL, [GradeId] [int] NOT NULL, [Phone] [nvarchar](255) NULL, [Address] [nvarchar](255) NULL, [Birthday] [datetime] NULL, [Email] [nvarchar](50) NULL, [MyTT] [int] NULL, CONSTRAINT [PK_Student] PRIMARY KEY CLUSTERED ( [StudentNo] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] GO SET ANSI_PADDING OFF GO SET IDENTITY_INSERT [dbo].[Student] ON INSERT [dbo].[Student] ([StudentNo], [LoginPwd], [StudentName], [Gender], [GradeId], [Phone], [Address], [Birthday], [Email], [MyTT]) VALUES (23, N‘000000‘, N‘灰太狼2222‘, N‘1‘, 2, N‘23‘, N‘中国平安啊啊‘, CAST(0x0000759800000000 AS DateTime), N‘好@3‘, 1) INSERT [dbo].[Student] ([StudentNo], [LoginPwd], [StudentName], [Gender], [GradeId], [Phone], [Address], [Birthday], [Email], [MyTT]) VALUES (23213, N‘000000‘, N‘李金香好人‘, N‘0‘, 3, N‘13835231533/13503542995‘, N‘北京海淀区北宫门‘, CAST(0x0000759800000000 AS DateTime), N‘[email protected]‘, NULL) INSERT [dbo].[Student] ([StudentNo], [LoginPwd], [StudentName], [Gender], [GradeId], [Phone], [Address], [Birthday], [Email], [MyTT]) VALUES (23219, N‘000000‘, N‘美洋洋222‘, N‘0‘, 2, N‘6666666‘, N‘北京市海淀区‘, CAST(0x000081D500000000 AS DateTime), N‘[email protected]‘, NULL) INSERT [dbo].[Student] ([StudentNo], [LoginPwd], [StudentName], [Gender], [GradeId], [Phone], [Address], [Birthday], [Email], [MyTT]) VALUES (23225, N‘000000‘, N‘张靓颖‘, N‘0‘, 2, N‘13503001234‘, N‘北京市海淀区‘, CAST(0x0000A1E5009B6025 AS DateTime), N‘[email protected]‘, NULL) INSERT [dbo].[Student] ([StudentNo], [LoginPwd], [StudentName以上是关于MySchool的主要内容,如果未能解决你的问题,请参考以下文章