序号 | 列名 | 数据类型 | 长度 | 小数位 | 标识 | 主键 | 外键 | 允许空 | 默认值 | 说明 |
1 | ID | int | 4 | 0 | 是 | 否 | ||||
2 | Courseware | nvarchar | 50 | 0 | 是 | 课件主题 | ||||
3 | CoursNum | int | 4 | 0 | 是 | 课件次序 | ||||
4 | Listen | int | 4 | 0 | 是 | 可否试听:0为否,1为是 | ||||
5 | UpdateTime | datetime | 8 | 3 | 是 | 更新时间 | ||||
6 | FileUrl | nvarchar | 255 | 0 | 是 | 试听地址 | ||||
7 | CourseID | int | 4 | 0 | 是 | 课程ID | ||||
8 | Speaker | nvarchar | 50 | 0 | 是 | 主讲人 | ||||
9 | SJName | varchar | 255 | 0 | 是 | 设计者 | ||||
10 | Status | int | 4 | 0 | 是 | 状态:0为可用;1为不可用 | ||||
11 | Description | varchar | 255 | 0 | 是 | 简介 | ||||
12 | Classification | varchar | 255 | 0 | 是 | 分类 | ||||
13 | CoursType | int | 4 | 0 | 是 | 课件类型:0为外部课件;1为SCORM标准课件 | ||||
14 | CreationTime | datetime | 8 | 3 | 是 | 课件创建时间 |
课程分类表
GO
CREATE TABLE [dbo].[ZL_Courseware](
[ID] [int] IDENTITY(1,1) NOT NULL,
[Courseware] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
[CoursNum] [int] NULL,
[Listen] [int] NULL,
[UpdateTime] [datetime] NULL,
[FileUrl] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
[CourseID] [int] NULL,
[Speaker] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,[SJName] [varchar](255) COLLATE Chinese_PRC_CI_AS NULL,
[Status] [int] NULL,
[Description] [varchar](255) COLLATE Chinese_PRC_CI_AS NULL,
[Classification] [varchar](255) COLLATE Chinese_PRC_CI_AS NULL,
[CoursType] [int] NULL,
[CreationTime] [datetime] NULL
) ON [PRIMARY]
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'课件主题' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Courseware', @level2type=N'COLUMN',@level2name=N'Courseware'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'课件次序' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Courseware', @level2type=N'COLUMN',@level2name=N'CoursNum'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'可否试听:0为否,1为是' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Courseware', @level2type=N'COLUMN',@level2name=N'Listen'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'更新时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Courseware', @level2type=N'COLUMN',@level2name=N'UpdateTime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'试听地址' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Courseware', @level2type=N'COLUMN',@level2name=N'FileUrl'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'课程ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Courseware', @level2type=N'COLUMN',@level2name=N'CourseID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'主讲人' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Courseware', @level2type=N'COLUMN',@level2name=N'Speaker'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'状态:0为可用;1为不可用' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Courseware', @level2type=N'COLUMN', @level2name=N'Status'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'简介' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Courseware', @level2type=N'COLUMN', @level2name=N'Description'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'分类' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Courseware', @level2type=N'COLUMN', @level2name=N'Classification'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'课件类型:0为外部课件;1为SCORM标准课件 ' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Courseware', @level2type=N'COLUMN', @level2name=N'CoursType'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'课件创建时间' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Courseware', @level2type=N'COLUMN', @level2name=N'CreationTime'
detele from ZL_Courseware
drop table ZL_Courseware
TRUNCATE table ZL_Courseware