序号 | 列名 | 数据类型 | 长度 | 小数位 | 标识 | 主键 | 外键 | 允许空 | 默认值 | 说明 |
1 | AnswerID | int | 4 | 0 | 是 | 是 | 否 | 答题ID | ||
2 | ExaID | int | 4 | 0 | 是 | 试卷ID | ||||
3 | Stuid | int | 4 | 0 | 是 | 考生ID | ||||
4 | Answer | nvarchar | 1000 | 0 | 是 | 考生答案 | ||||
5 | AnswerTime | datetime | 8 | 3 | 是 | 答题时间 | ||||
6 | Fraction | int | 4 | 0 | 是 | 试题分数 | ||||
7 | Scores | int | 4 | 0 | 是 | 所得分数 | ||||
8 | Examiners | nvarchar | 255 | 0 | 是 | 阅卷人 | ||||
9 | RoomID | int | 4 | 0 | 是 | 考场ID | ||||
10 | StuName | nvarchar | 255 | 0 | 是 | 考生姓名 |
在线考试回复表
GO
CREATE TABLE [dbo].[ZL_ExAnswer](
[AnswerID] [int] IDENTITY(1,1) NOT NULL,
[ExaID] [int] NULL,
[Stuid] [int] NULL,
[Answer] [nvarchar](1000) COLLATE Chinese_PRC_CI_AS NULL,
[AnswerTime] [datetime] NULL,
[Fraction] [int] NULL,
[Scores] [int] NULL,
[Examiners] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
[RoomID] [int] NULL,
[StuName] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
CONSTRAINT [PK_ZL_ExAnswer] PRIMARY KEY CLUSTERED
(
[AnswerID] 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'ZL_ExAnswer', @level2type=N'COLUMN',@level2name=N'AnswerID'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'试卷ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExAnswer', @level2type=N'COLUMN',@level2name=N'ExaID'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'考生ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExAnswer', @level2type=N'COLUMN',@level2name=N'Stuid'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'考生答案' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExAnswer', @level2type=N'COLUMN',@level2name=N'Answer'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'答题时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExAnswer', @level2type=N'COLUMN',@level2name=N'AnswerTime'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'试题分数' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExAnswer', @level2type=N'COLUMN',@level2name=N'Fraction'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'所得分数' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExAnswer', @level2type=N'COLUMN',@level2name=N'Scores'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'阅卷人' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExAnswer', @level2type=N'COLUMN',@level2name=N'Examiners'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'考场ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExAnswer', @level2type=N'COLUMN',@level2name=N'RoomID'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'考生姓名' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExAnswer', @level2type=N'COLUMN',@level2name=N'StuName'
detele from ZL_ExAnswer
drop table ZL_ExAnswer
TRUNCATE table ZL_ExAnswer