序号 | 列名 | 数据类型 | 长度 | 小数位 | 标识 | 主键 | 外键 | 允许空 | 默认值 | 说明 |
1 | ID | int | 4 | 0 | 是 | 否 | 考点ID | |||
2 | TestPoint | nvarchar | 50 | 0 | 是 | 考点名称 | ||||
3 | TID | int | 4 | 0 | 是 | 上级考点 | ||||
4 | OrderBy | int | 4 | 0 | 是 | 排序 | ||||
5 | AddUser | int | 4 | 0 | 是 | 管理员 | ||||
6 | AddTime | datetime | 8 | 3 | 是 | 添加时间 |
在线考试问题点表
GO
CREATE TABLE [dbo].[ZL_ExamPoint](
[ID] [int] IDENTITY(1,1) NOT NULL,
[TestPoint] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
[TID] [int] NULL,
[OrderBy] [int] NULL,
[AddUser] [int] NULL,
[AddTime] [datetime] NULL
) 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'ZL_ExamPoint', @level2type=N'COLUMN',@level2name=N'ID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'考点名称' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExamPoint', @level2type=N'COLUMN',@level2name=N'TestPoint'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'上级考点' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExamPoint', @level2type=N'COLUMN',@level2name=N'TID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'排序' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExamPoint', @level2type=N'COLUMN',@level2name=N'OrderBy'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'管理员' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExamPoint', @level2type=N'COLUMN',@level2name=N'AddUser'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'添加时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExamPoint', @level2type=N'COLUMN',@level2name=N'AddTime'
SET IDENTITY_INSERT [ZL_ExamPoint] ON
INSERT [ZL_ExamPoint] ([ID],[TestPoint],[TID],[OrderBy],[AddUser],[AddTime]) VALUES ( 1,'完型填空',1,1,1,'2011/07/07 12:35:28')
INSERT [ZL_ExamPoint] ([ID],[TestPoint],[TID],[OrderBy],[AddUser],[AddTime]) VALUES ( 2,'阅读理解',0,1,1,'2011/07/07 10:39:09')
INSERT [ZL_ExamPoint] ([ID],[TestPoint],[TID],[OrderBy],[AddUser],[AddTime]) VALUES ( 3,'概括大意',0,1,1,'2011/07/07 10:39:22')
INSERT [ZL_ExamPoint] ([ID],[TestPoint],[TID],[OrderBy],[AddUser],[AddTime]) VALUES ( 4,'基础知识',0,1,1,'2011/07/07 9:46:26')
INSERT [ZL_ExamPoint] ([ID],[TestPoint],[TID],[OrderBy],[AddUser],[AddTime]) VALUES ( 6,'知识巩固',0,1,1,'2011/07/07 13:17:53')
INSERT [ZL_ExamPoint] ([ID],[TestPoint],[TID],[OrderBy],[AddUser],[AddTime]) VALUES ( 7,'单元复习',0,2,1,'2011/07/07 13:34:30')
SET IDENTITY_INSERT [ZL_ExamPoint] OFF
detele from ZL_ExamPoint
drop table ZL_ExamPoint
TRUNCATE table ZL_ExamPoint