序号 | 列名 | 数据类型 | 长度 | 小数位 | 标识 | 主键 | 外键 | 允许空 | 默认值 | 说明 |
1 | ExrID | int | 4 | 0 | 是 | 是 | 否 | 考场ID | ||
2 | RoomName | nvarchar | 255 | 0 | 是 | 房间名称 | ||||
3 | Starttime | datetime | 8 | 3 | 是 | 开始考试时间 | ||||
4 | Endtime | datetime | 8 | 3 | 是 | 结束考试时间 | ||||
5 | ExaID | int | 4 | 0 | 是 | 模板试卷ID | ||||
6 | AddTime | datetime | 8 | 3 | 是 | 安排时间 | ||||
7 | Stuidlist | ntext | 16 | 0 | 是 | 考生ID列表 |
在线考试学生表
GO
CREATE TABLE [dbo].[ZL_Exroom](
[ExrID] [int] IDENTITY(1,1) NOT NULL,
[RoomName] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
[Starttime] [datetime] NULL,
[Endtime] [datetime] NULL,
[ExaID] [int] NULL,
[AddTime] [datetime] NULL,
[Stuidlist] [ntext] COLLATE Chinese_PRC_CI_AS NULL,
CONSTRAINT [PK_ZL_Exroom] PRIMARY KEY CLUSTERED
(
[ExrID] ASC
) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_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_Exroom', @level2type=N'COLUMN',@level2name=N'ExrID'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'开始考试时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Exroom', @level2type=N'COLUMN',@level2name=N'Starttime'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'结束考试时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Exroom', @level2type=N'COLUMN',@level2name=N'Endtime'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'模板试卷ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Exroom', @level2type=N'COLUMN',@level2name=N'ExaID'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'安排时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Exroom', @level2type=N'COLUMN',@level2name=N'AddTime'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'考生ID列表' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Exroom', @level2type=N'COLUMN',@level2name=N'Stuidlist'
detele from ZL_Exroom
drop table ZL_Exroom
TRUNCATE table ZL_Exroom