表名:ZL_EDU_AutoPK












序号列名数据类型长度小数位标识主键外键允许空默认值说明
1IDint40   
2UserIDint40    用户ID
3Configntext160    详细配置
4Ownclassint40    所属班级
5TechIDSnvarchar5000    授课老师的IDS
6CDatedatetime83    创建时间
7SDatedatetime83    开始时间
8Edatedatetime83    结束时间

简要说明:

自动排课表

GO
CREATE TABLE [dbo].[ZL_EDU_AutoPK](
[ID] [int] IDENTITY(1,1) NOT NULL,
[UserID] [int] NULL,
[Config] [ntext] NULL,
[Ownclass] [int] NULL,
[TechIDS] [nvarchar](500) NULL,
[CDate] [datetime] NULL,
[SDate] [datetime] NULL,
[Edate] [datetime] NULL,
CONSTRAINT [PK_ZL_EDU_AutoPK] PRIMARY KEY CLUSTERED
([ID] ASC)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]) ON [PRIMARY]

--注意:将清空全表数据

detele from ZL_EDU_AutoPK

--注意:将删除整个表

drop table ZL_EDU_AutoPK

--注意:清空且复位表ID序列为初始值

TRUNCATE table ZL_EDU_AutoPK