数据表:t_ASC_DistLog(分配日志)

t_ASC_DistLog(分配日志):描述

名称

t_ASC_DistLog(分配日志)

代码

t_ASC_DistLog

注释

共享中心任务池自动分配日志

模型

BOS

主键

PK_ASC_DISTLOG


t_ASC_DistLog(分配日志):列规格定义

名称

代码

数据类型

长度

强制

注释

主键

FId

int

 

TRUE

 

编码

FBillNo

nvarchar(30)

30

TRUE

 

分配策略内码

FDistPolicyId

int

 

TRUE

 

分配时间

FDistTime

datetime

 

TRUE

 

分配数量

FDistQty

int

 

TRUE

 


t_ASC_DistLog(分配日志):脚本代码

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

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

/*==============================================================*/
/* Table: t_ASC_DistLog */
/*==============================================================*/
create table t_ASC_DistLog (
FId int not null default 0,
FBillNo nvarchar(30) not null default '',
FDistPolicyId int not null default 0,
FDistTime datetime not null default getdate(),
FDistQty int not null default 0,
constraint PK_ASC_DISTLOG primary key (FId)
)
go

/*==============================================================*/
/* Index: IDX_DistLog_Policy */
/*==============================================================*/
create index IDX_DistLog_Policy on t_ASC_DistLog (
FDistPolicyId ASC
)
go


t_ASC_DistLog(分配日志):键值定义

名称

代码

主要的

PK_ASC_DISTLOG

PK_ASC_DISTLOG

TRUE


t_ASC_DistLog(分配日志):索引定义

名称

代码

唯一的

群集器

主要的

外键

候选键

表格

IDX_DistLog_Policy

IDX_DistLog_Policy

FALSE

FALSE

FALSE

FALSE

FALSE

t_ASC_DistLog(分配日志)