数据表:t_BAS_ScheduleMsg(执行计划消息表)

t_BAS_ScheduleMsg(执行计划消息表):描述

名称

t_BAS_ScheduleMsg(执行计划消息表)

代码

t_BAS_ScheduleMsg

注释

 

模型

BOS

主键

Key_1


t_BAS_ScheduleMsg(执行计划消息表):列规格定义

名称

代码

数据类型

长度

强制

注释

消息内码

FMsgID

varchar(36)

36

TRUE

 

执行计划类型内码

FSCHEDULETYPEID

varchar(36)

36

TRUE

 

执行计划名称

FScheduleName

nvarchar(100)

100

TRUE

 

消息类型

FMsgType

int

 

TRUE

 

详细信息

FMsgDetail

ntext

 

FALSE

 

发生时间

FMsgHappenTime

datetime

 

FALSE

 


t_BAS_ScheduleMsg(执行计划消息表):脚本代码

if exists (select 1
from sysindexes
where id = object_id('t_BAS_ScheduleMsg')
and name = 'IDX_BAS_TypeIdAndMsgType'
and indid > 0
and indid < 255)
drop index t_BAS_ScheduleMsg.IDX_BAS_TypeIdAndMsgType
go

if exists (select 1
from sysobjects
where id = object_id('t_BAS_ScheduleMsg')
and type = 'U')
drop table t_BAS_ScheduleMsg
go

/*==============================================================*/
/* Table: t_BAS_ScheduleMsg */
/*==============================================================*/
create table t_BAS_ScheduleMsg (
FMsgID varchar(36) not null,
FSCHEDULETYPEID varchar(36) not null default ' ',
FScheduleName nvarchar(100) not null default ' ',
FMsgType int not null default 0,
FMsgDetail ntext null,
FMsgHappenTime datetime null,
constraint PK_T_BAS_SCHEDULEMSG primary key (FMsgID)
)
go

/*==============================================================*/
/* Index: IDX_BAS_TypeIdAndMsgType */
/*==============================================================*/
create index IDX_BAS_TypeIdAndMsgType on t_BAS_ScheduleMsg (
FSCHEDULETYPEID ASC,
FMsgType ASC
)
go


t_BAS_ScheduleMsg(执行计划消息表):键值定义

名称

代码

主要的

Key_1

Key_1

TRUE


t_BAS_ScheduleMsg(执行计划消息表):索引定义

名称

代码

唯一的

群集器

主要的

外键

候选键

表格

IDX_BAS_TypeIdAndMsgType

IDX_BAS_TypeIdAndMsgType

FALSE

FALSE

FALSE

FALSE

FALSE

t_BAS_ScheduleMsg(执行计划消息表)