序号 | 列名 | 数据类型 | 长度 | 小数位 | 标识 | 主键 | 外键 | 允许空 | 默认值 | 说明 |
1 | ExaID | int | 4 | 0 | 是 | 是 | 否 | 试卷ID | ||
2 | StuUserName | nvarchar | 255 | 0 | 是 | 考生姓名 | ||||
3 | Stuid | int | 4 | 0 | 是 | 考生ID | ||||
4 | Generate | datetime | 8 | 3 | 是 | 生成时间 | ||||
5 | Starttime | datetime | 8 | 3 | 是 | 开始考试时间 | ||||
6 | Endtime | datetime | 8 | 3 | 是 | 结束考试时间 | ||||
7 | Qlist | nvarchar | 500 | 0 | 是 | 试题列表(ID) | ||||
8 | Total | int | 4 | 0 | 是 | 试卷总数 | ||||
9 | Score | int | 4 | 0 | 是 | 考试评分 | ||||
10 | Reviews | nvarchar | 1000 | 0 | 是 | 考试评语 | ||||
11 | Examiners | nvarchar | 255 | 0 | 是 | 阅卷人 | ||||
12 | RoomID | int | 4 | 0 | 是 | 考场ID |
在线考试来源表
GO
CREATE TABLE [dbo].[ZL_Examination](
[ExaID] [int] IDENTITY(1,1) NOT NULL,
[StuUserName] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
[Stuid] [int] NULL,
[Generate] [datetime] NULL,
[Starttime] [datetime] NULL,
[Endtime] [datetime] NULL,
[Qlist] [nvarchar](500) COLLATE Chinese_PRC_CI_AS NULL,
[Total] [int] NULL,
[Score] [int] NULL,
[Reviews] [nvarchar](1000) COLLATE Chinese_PRC_CI_AS NULL,
[Examiners] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
[RoomID] [int] NULL,
CONSTRAINT [PK_ZL_Examination] PRIMARY KEY CLUSTERED
(
[ExaID] 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_Examination', @level2type=N'COLUMN',@level2name=N'ExaID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'考生姓名' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Examination', @level2type=N'COLUMN',@level2name=N'StuUserName'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'考生ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Examination', @level2type=N'COLUMN',@level2name=N'Stuid'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'生成时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Examination', @level2type=N'COLUMN',@level2name=N'Generate'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'开始考试时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Examination', @level2type=N'COLUMN',@level2name=N'Starttime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'结束考试时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Examination', @level2type=N'COLUMN',@level2name=N'Endtime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'试题列表(ID)' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Examination', @level2type=N'COLUMN',@level2name=N'Qlist'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'试卷总数' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Examination', @level2type=N'COLUMN',@level2name=N'Total'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'考试评分' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Examination', @level2type=N'COLUMN',@level2name=N'Score'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'考试评语' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Examination', @level2type=N'COLUMN',@level2name=N'Reviews'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'阅卷人' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Examination', @level2type=N'COLUMN',@level2name=N'Examiners'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'考场ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Examination', @level2type=N'COLUMN',@level2name=N'RoomID'
detele from ZL_Examination
drop table ZL_Examination
TRUNCATE table ZL_Examination