序号 | 列名 | 数据类型 | 长度 | 小数位 | 标识 | 主键 | 外键 | 允许空 | 默认值 | 说明 |
1 | StudyID | int | 4 | 0 | 是 | 是 | 否 | 培训ID | ||
2 | Stuid | int | 4 | 0 | 是 | 学员ID | ||||
3 | Course | int | 4 | 0 | 是 | 课程 | ||||
4 | Studytime | nvarchar | 2000 | 0 | 是 | 学习时间 | ||||
5 | Resttime | ntext | 16 | 0 | 是 | 每日学习时间安排 | ||||
6 | Schedule | int | 4 | 0 | 是 | 学员当前进度 | ||||
7 | Reviews | nvarchar | 1000 | 0 | 是 | 评语 |
在线考试时间记录表
GO
CREATE TABLE [dbo].[ZL_ExStudytime](
[StudyID] [int] IDENTITY(1,1) NOT NULL,
[Stuid] [int] NULL,
[Course] [int] NULL,
[Studytime] [nvarchar](2000) COLLATE Chinese_PRC_CI_AS NULL,
[Resttime] [ntext] COLLATE Chinese_PRC_CI_AS NULL,
[Schedule] [int] NULL,
[Reviews] [nvarchar](1000) COLLATE Chinese_PRC_CI_AS NULL,
CONSTRAINT [PK_ZL_ExStudytime] PRIMARY KEY CLUSTERED
(
[StudyID] 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_ExStudytime', @level2type=N'COLUMN',@level2name=N'StudyID'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'学员ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExStudytime', @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_ExStudytime', @level2type=N'COLUMN',@level2name=N'Course'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'学习时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExStudytime', @level2type=N'COLUMN',@level2name=N'Studytime'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'每日学习时间安排' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExStudytime', @level2type=N'COLUMN',@level2name=N'Resttime'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'学员当前进度' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExStudytime', @level2type=N'COLUMN',@level2name=N'Schedule'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'评语' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExStudytime', @level2type=N'COLUMN',@level2name=N'Reviews'
detele from ZL_ExStudytime
drop table ZL_ExStudytime
TRUNCATE table ZL_ExStudytime