Table slot9.WORLD.TSTA.GANG_ASSOCIATIONS
This table stores the associations between GANGS

Legend:
Primary key columns
Columns with indexes
Implied relationships
Excluded column relationships
< n > number of related tables
 
Column Type Size Nulls Auto Default Children Parents Comments
GANG_ID number 20
GANGS.GANG_ID GAN_ID_GAN_FK R
The gang id used to uniquely identify the gang.
GANG_ASSOCIATION_ID number 20
GANGS.GANG_ID GAN_ASSOC_GAN_FK R
The gang assocition id
GANG_REL_ID number 20 The gang rel id used to uniquely identify the gang.
CREATOR_ID varchar2 100  √  null Person creating the record
CREATOR_DATE date 7  √  null Date of record creation
UPDATOR_ID varchar2 100  √  null Person who last updated the record
UPDATOR_DATE date 7  √  null Date of last update
DATE_OF_INFO date 7  √  null Date of info
REASON varchar2 1000  √  null reasons for associations
GANG_REL_CODE varchar2 30  √  null
EJS_CODES.CODE GAN_ASSOC_GREL_EJS_CODES_FK R
GANG_REL_CODE_TYPE varchar2 30  √  null
EJS_CODES.CODE_TYPE GAN_ASSOC_GREL_EJS_CODES_FK R
REC_ID number 0  √  null

Analyzed at Mon Sep 20 21:05 MDT 2021

Requirements (check constraints):
Constraint Constraint Name
"GANG_ASSOCIATION_ID" IS NOT NULL GAN_ASSOC_GANG_ASSOC_ID_NN
"GANG_ID" IS NOT NULL GAN_ASSOC_GANG_ID_NN
"GANG_REL_ID" IS NOT NULL GAN_ASSOC_GANG_REL_ID_NN

Indexes:
Column(s) Type Sort Constraint Name
GANG_ID + GANG_ASSOCIATION_ID + GANG_REL_ID Primary key Asc/Asc/Asc GAN_ASSOC_PK
GANG_ASSOCIATION_ID Performance Asc GAN_ASSOC_GAN_FK_I
GANG_REL_CODE_TYPE + GANG_REL_CODE Performance Asc/Asc GAN_ASSOC_GREL_EJS_CODES_FK_I
GANG_ID Performance Asc GAN_ID_GAN_FK_I

Close relationships  within of separation: