表名:ZL_Exam_Answer












序号列名数据类型长度小数位标识主键外键允许空默认值说明
1IDint40   
2FlowIDvarchar500    流水号
3UserIDint40     
4UserNamenvarchar2000    用户名
5PaperIDint40    试卷ID
6QIDint40    问题ID
7QTitlenvarchar2000    问题标题
8QTypeint40    问题类型
9Answerntext160    答案
10CDatedatetime83     
11PaperNamenvarchar2000    试卷名
12Scoreint40    该回答所获得的分数
13TotalScoreint40    总分,仅存于主卷上
14TechIDint40    教师ID
15TechNamevarchar2000    教师姓名
16IsRightint40    0尚未批复,1正确,2错误
17Remarknvarchar20000    教师对该题的批注
18RDatedatetime83    教师批注日期
19Remindvarchar500    备注:为1则作为主记录
20pidint40    回答的题目ID
21StartDatedatetime83    开始答题时间
22MySchoolnvarchar500    我的学校和班级,考试时手动输入
23MyClassnvarchar500    我的班级

简要说明:

在线考试题目表

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

--注意:清空且复位表ID序列为初始值

TRUNCATE table ZL_Exam_Answer