表名:ZL_Content_ScheLog












序号列名数据类型长度小数位标识主键外键允许空默认值说明
1IDint40   
2TaskNamenvarchar1000    任务名称
3TaskIDint40    任务编号
4Resultint40    结果
5ErrMsgntext160    错误消息
6CDatedatetime83    创建时间

简要说明:

聊天在线信息表

Go
CREATE TABLE [dbo].[ZL_Content_ScheLog](
[ID] [int] IDENTITY(1,1) NOT NULL,
[TaskName] [nvarchar](100) NULL,
[TaskID] [int] NULL,
[Result] [int] NULL,
[ErrMsg] [ntext] NULL,
[CDate] [datetime] NULL,
CONSTRAINT [PK_ZL_Content_ScheTaskLog] 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] TEXTIMAGE_ON [PRIMARY]

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

detele from ZL_Content_ScheLog

--注意:将删除整个表

drop table ZL_Content_ScheLog

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

TRUNCATE table ZL_Content_ScheLog