序号 | 列名 | 数据类型 | 长度 | 小数位 | 标识 | 主键 | 外键 | 允许空 | 默认值 | 说明 |
1 | ID | int | 4 | 0 | 是 | 是 | 否 | |||
2 | FlowID | varchar | 50 | 0 | 是 | 流水号 | ||||
3 | UserID | int | 4 | 0 | 是 | |||||
4 | UserName | nvarchar | 200 | 0 | 是 | 用户名 | ||||
5 | PaperID | int | 4 | 0 | 是 | 试卷ID | ||||
6 | QID | int | 4 | 0 | 是 | 问题ID | ||||
7 | QTitle | nvarchar | 200 | 0 | 是 | 问题标题 | ||||
8 | QType | int | 4 | 0 | 是 | 问题类型 | ||||
9 | Answer | ntext | 16 | 0 | 是 | 答案 | ||||
10 | CDate | datetime | 8 | 3 | 是 | |||||
11 | PaperName | nvarchar | 200 | 0 | 是 | 试卷名 | ||||
12 | Score | int | 4 | 0 | 是 | 该回答所获得的分数 | ||||
13 | TotalScore | int | 4 | 0 | 是 | 总分,仅存于主卷上 | ||||
14 | TechID | int | 4 | 0 | 是 | 教师ID | ||||
15 | TechName | varchar | 200 | 0 | 是 | 教师姓名 | ||||
16 | IsRight | int | 4 | 0 | 是 | 0尚未批复,1正确,2错误 | ||||
17 | Remark | nvarchar | 2000 | 0 | 是 | 教师对该题的批注 | ||||
18 | RDate | datetime | 8 | 3 | 是 | 教师批注日期 | ||||
19 | Remind | varchar | 50 | 0 | 是 | 备注:为1则作为主记录 | ||||
20 | pid | int | 4 | 0 | 是 | 回答的题目ID | ||||
21 | StartDate | datetime | 8 | 3 | 是 | 开始答题时间 | ||||
22 | MySchool | nvarchar | 50 | 0 | 是 | 我的学校和班级,考试时手动输入 | ||||
23 | MyClass | nvarchar | 50 | 0 | 是 | 我的班级 |
在线考试题目表
GO
CREATE TABLE [dbo].[ZL_Exam_Answer](
[ID] [int] IDENTITY(1,1) NOT NULL,
[FlowID] [varchar](50) NULL,
[UserID] [int] NULL,
[UserName] [nvarchar](200) NULL,
[PaperID] [int] NULL,
[QID] [int] NULL,
[QTitle] [nvarchar](200) NULL,
[QType] [int] NULL,
[Answer] [ntext] NULL,
[CDate] [datetime] NULL,
[PaperName] [nvarchar](200) NULL,
[Score] [int] NULL,
[TotalScore] [int] NULL,
[TechID] [int] NULL,
[TechName] [varchar](200) NULL,
[IsRight] [int] NULL,
[Remark] [nvarchar](2000) NULL,
[RDate] [datetime] NULL,
[Remind] [varchar](50) NULL,
[pid] [int] NULL,
[StartDate] [datetime] NULL,
[MySchool] [nvarchar](50) NULL,
[MyClass] [nvarchar](50) NULL,
CONSTRAINT [PK_ZL_Exam_Answer] PRIMARY KEY CLUSTERED
([ID] ASC)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
detele from ZL_Exam_Answer
drop table ZL_Exam_Answer
TRUNCATE table ZL_Exam_Answer