数据表:T_SEC_USERORG(用户组织关系)

T_SEC_USERORG(用户组织关系):描述

名称

T_SEC_USERORG(用户组织关系)

代码

T_SEC_USERORG

注释

用户组织关系

模型

BOS

主键

pk_sec_userorg


T_SEC_USERORG(用户组织关系):列规格定义

名称

代码

数据类型

长度

强制

注释

分录内码

FENTITYID

int

 

TRUE

 

用户内码

FUSERID

int

 

TRUE

 

组织内码

FORGID

int

 

TRUE

 


T_SEC_USERORG(用户组织关系):脚本代码

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

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

/*==============================================================*/
/* Table: T_SEC_USERORG */
/*==============================================================*/
create table T_SEC_USERORG (
FENTITYID int not null default 0,
FUSERID int not null default 0,
FORGID int not null default 0,
constraint pk_sec_userorg primary key (FENTITYID)
)
go

/*==============================================================*/
/* Index: idx_sec_userorg */
/*==============================================================*/
create index idx_sec_userorg on T_SEC_USERORG (
FUSERID ASC
)
go


T_SEC_USERORG(用户组织关系):键值定义

名称

代码

主要的

pk_sec_userorg

pk_sec_userorg

TRUE


T_SEC_USERORG(用户组织关系):索引定义

名称

代码

唯一的

群集器

主要的

外键

候选键

表格

idx_sec_userorg

idx_sec_userorg

FALSE

FALSE

FALSE

FALSE

FALSE

T_SEC_USERORG(用户组织关系)