序号 | 列名 | 数据类型 | 长度 | 小数位 | 标识 | 主键 | 外键 | 允许空 | 默认值 | 说明 |
1 | ID | int | 4 | 0 | 是 | 否 | ||||
2 | TClsss | int | 4 | 0 | 是 | 老师分类 | ||||
3 | TName | nvarchar | 50 | 0 | 是 | 老师名称 | ||||
4 | Post | nvarchar | 50 | 0 | 是 | 职位 | ||||
5 | Teach | nvarchar | 50 | 0 | 是 | 授课 | ||||
6 | FileUpload | nvarchar | 255 | 0 | 是 | 图片 | ||||
7 | Remark | nvarchar | 1000 | 0 | 是 | 老师信息 | ||||
8 | CreatTime | datetime | 8 | 3 | 是 | 创建时间 | ||||
9 | AddUser | int | 4 | 0 | 是 | 添加用户 |
考试系统教师信息表
GO
CREATE TABLE [dbo].[ZL_ExTeacher](
[ID] [int] IDENTITY(1,1) NOT NULL,
[TClsss] [int] NULL,
[TName] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
[Post] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
[Teach] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
[FileUpload] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
[Remark] [nvarchar](1000) COLLATE Chinese_PRC_CI_AS NULL,
[CreatTime] [datetime] NULL,
[AddUser] [int] 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_ExTeacher', @level2type=N'COLUMN',@level2name=N'TClsss'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'老师名称' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExTeacher', @level2type=N'COLUMN',@level2name=N'TName'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'职位' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExTeacher', @level2type=N'COLUMN',@level2name=N'Post'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'授课' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExTeacher', @level2type=N'COLUMN',@level2name=N'Teach'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'图片' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExTeacher', @level2type=N'COLUMN',@level2name=N'FileUpload'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'老师信息' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExTeacher', @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_ExTeacher', @level2type=N'COLUMN',@level2name=N'AddUser'
SET IDENTITY_INSERT [ZL_ExTeacher] ON
INSERT [ZL_ExTeacher] ( [ID] , [TClsss] , [TName] , [Post] , [Teach] , [FileUpload] , [Remark] , [CreatTime] , [AddUser] ) VALUES ( 1 , 4 , '吴晓1' , '教授' , '职称英语' , '/UploadFiles/Teacher/200912171601120431.jpg' , '规划局很久很久' , '2010-09-18 17:24:15.000' , 1 )
INSERT [ZL_ExTeacher] ( [ID] , [TClsss] , [TName] , [Post] , [Teach] , [FileUpload] , [Remark] , [CreatTime] , [AddUser] ) VALUES ( 3 , 7 , '城东' , '教授' , '职称计算机' , '' , '法国国歌各国国歌各国国歌各国国歌各国国歌各国国歌各国国歌广告歌根据国家规划法国国歌各国国歌各国国歌各国国歌' , '2010-09-18 17:32:18.620' , 1 )
SET IDENTITY_INSERT [ZL_ExTeacher] OFF
detele from ZL_ExTeacher
drop table ZL_ExTeacher
TRUNCATE table ZL_ExTeacher