数据表:T_ORG_AUTOALLOCATEPLAN (自动分配计划)

T_ORG_AUTOALLOCATEPLAN (自动分配计划):描述

名称

T_ORG_AUTOALLOCATEPLAN (自动分配计划)

代码

T_ORG_AUTOALLOCATEPLAN

注释

 

模型

BOS

主键

PK_ORG_AUTOALLOCATEPLAN


T_ORG_AUTOALLOCATEPLAN (自动分配计划):列规格定义

名称

代码

数据类型

长度

强制

注释

内码

FID

int

 

TRUE

 

编码

FNUMBER

nvarchar(30)

30

FALSE

 

状态

FSTATUS

char(1)

1

FALSE

R=启用
B=停用

分配周期

FALLOCATECYCLE

int

 

FALSE

 


T_ORG_AUTOALLOCATEPLAN (自动分配计划):脚本代码

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

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

/*==============================================================*/
/* Table: T_ORG_AUTOALLOCATEPLAN */
/*==============================================================*/
create table T_ORG_AUTOALLOCATEPLAN (
FID int not null default 0,
FNUMBER nvarchar(30) null default ' ',
FSTATUS char(1) null default 'B',
FALLOCATECYCLE int null default 0,
constraint PK_T_ORG_AUTOALLOCATEPLAN primary key (FID)
)
go

/*==============================================================*/
/* Index: IDX_ORG_AUTOALLOCATEPLAN */
/*==============================================================*/
create index IDX_ORG_AUTOALLOCATEPLAN on T_ORG_AUTOALLOCATEPLAN (
FNUMBER ASC
)
go


T_ORG_AUTOALLOCATEPLAN (自动分配计划):键值定义

名称

代码

主要的

PK_ORG_AUTOALLOCATEPLAN

PK_ORG_AUTOALLOCATEPLAN

TRUE


T_ORG_AUTOALLOCATEPLAN (自动分配计划):索引定义

名称

代码

唯一的

群集器

主要的

外键

候选键

表格

IDX_ORG_AUTOALLOCATEPLAN

IDX_ORG_AUTOALLOCATEPLAN

FALSE

FALSE

FALSE

FALSE

FALSE

T_ORG_AUTOALLOCATEPLAN (自动分配计划)