表名:ZL_Content_ScheTask












序号列名数据类型长度小数位标识主键外键允许空默认值说明
1IDint40   
2TaskNamenvarchar1000    任务名称
3TaskContentnvarchar40000    任务内容
4TaskTypeint40    任务类型,根据类型加载不同的任务
5IsLoopint40    (disuse)
6ExecuteTypeint40    内容计划任务类型
7ExecuteTimenvarchar2550    循环检测时间(30),或日期格式(仅一次),或时间格式(每日定时)
8LastTimenvarchar2550    最近一次执行时间
9Statusint40    0:未执行,100任务完结,-1已停用,将不会再进入TaskCenter执行
10Remindnvarchar2550    备注
11Intervalint40    计时器
12AdminIDint40    管理员ID
13CDatedatetime83     

简要说明:

系统任务表

GO
CREATE TABLE [dbo].[ZL_Content_ScheTask](
[ID] [int] IDENTITY(1,1) NOT NULL,
[TaskName] [nvarchar](100) NULL,
[TaskContent] [nvarchar](4000) NULL,
[TaskType] [int] NULL,
[IsLoop] [int] NULL,
[ExecuteType] [int] NULL,
[ExecuteTime] [nvarchar](255) NULL,
[LastTime] [nvarchar](255) NULL,
[Status] [int] NULL,
[Remind] [nvarchar](255) NULL,
[Interval] [int] NULL,
[AdminID] [int] NULL,
[CDate] [datetime] NULL,
CONSTRAINT [PK_ZL_Content_ScheTask] PRIMARY KEY NONCLUSTERED
([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_Content_ScheTask

--注意:将删除整个表

drop table ZL_Content_ScheTask

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

TRUNCATE table ZL_Content_ScheTask