序号 | 列名 | 数据类型 | 长度 | 小数位 | 标识 | 主键 | 外键 | 允许空 | 默认值 | 说明 |
1 | ID | int | 4 | 0 | 是 | 是 | 否 | |||
2 | Studioname | nvarchar | 50 | 0 | 是 | 学员姓名 | ||||
3 | PriorUserName | nvarchar | 50 | 0 | 是 | 预设用户名 | ||||
4 | LogPassWord | nvarchar | 50 | 0 | 是 | 预设登录密码 | ||||
5 | TechID | int | 4 | 0 | 是 | 招生员ID | ||||
6 | CourseID | int | 4 | 0 | 是 | 课程ID | ||||
7 | ClassID | int | 4 | 0 | 是 | 班级 | ||||
8 | Remark | nvarchar | 1000 | 0 | 是 | 备注 | ||||
9 | AddTime | datetime | 8 | 3 | 是 | 添加时间 |
学员信息表
GO
CREATE TABLE [dbo].[ZL_Recruitment](
[ID] [int] IDENTITY(1,1) NOT NULL,
[Studioname] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
[PriorUserName] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
[LogPassWord] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
[TechID] [int] NULL,
[CourseID] [int] NULL,
[ClassID] [int] NULL,
[Remark] [nvarchar](1000) COLLATE Chinese_PRC_CI_AS NULL,
[AddTime] [datetime] NULL,
CONSTRAINT [PK_ZL_Recruitment] PRIMARY KEY CLUSTERED
(
[ID] ASC
) ON [PRIMARY]
) 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_Recruitment', @level2type=N'COLUMN',@level2name=N'Studioname'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'预设用户名' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Recruitment', @level2type=N'COLUMN',@level2name=N'PriorUserName'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'预设登录密码' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Recruitment', @level2type=N'COLUMN',@level2name=N'LogPassWord'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'招生员ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Recruitment', @level2type=N'COLUMN',@level2name=N'TechID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'课程ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Recruitment', @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_Recruitment', @level2type=N'COLUMN',@level2name=N'ClassID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Recruitment', @level2type=N'COLUMN',@level2name=N'Remark'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'添加时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Recruitment', @level2type=N'COLUMN',@level2name=N'AddTime'
detele from ZL_Recruitment
drop table ZL_Recruitment
TRUNCATE table ZL_Recruitment