序号 | 列名 | 数据类型 | 长度 | 小数位 | 标识 | 主键 | 外键 | 允许空 | 默认值 | 说明 |
1 | AttID | int | 4 | 0 | 是 | 是 | 否 | 考勤ID | ||
2 | Stuid | int | 4 | 0 | 是 | 学员ID | ||||
3 | LogTime | datetime | 8 | 3 | 是 | 登录时间 | ||||
4 | Logtimeout | int | 4 | 0 | 是 | 登录时长 | ||||
5 | Location | nvarchar | 255 | 0 | 是 | 当前位置 | ||||
6 | StuName | nvarchar | 255 | 0 | 是 | 用户名称 |
在线考试申请表
GO
CREATE TABLE [dbo].[ZL_ExAttendance](
[AttID] [int] IDENTITY(1,1) NOT NULL,
[Stuid] [int] NULL,
[LogTime] [datetime] NULL,
[Logtimeout] [int] NULL,
[Location] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
[StuName] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
CONSTRAINT [PK_ZL_ExAttendance] PRIMARY KEY CLUSTERED
(
[AttID] 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_ExAttendance', @level2type=N'COLUMN',@level2name=N'AttID'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'学员ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExAttendance', @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_ExAttendance', @level2type=N'COLUMN',@level2name=N'LogTime'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'登录时长' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExAttendance', @level2type=N'COLUMN',@level2name=N'Logtimeout'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'当前位置' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExAttendance', @level2type=N'COLUMN',@level2name=N'Location'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户名称' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExAttendance', @level2type=N'COLUMN',@level2name=N'StuName'
detele from ZL_ExAttendance
drop table ZL_ExAttendance
TRUNCATE table ZL_ExAttendance