Table slot9.WORLD.TSTA.INCIDENT_GANGS
This table stores the association to MASTER GANGs added to the INCIDENT in the application

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
INCSUP_INC_INCIDENT_ID number 38
INCIDENT_SUPPLEMENTS.INC_INCIDENT_ID INC_GANG_INCSUP_FK C
Incident ID number assigned
INCSUP_SUPP_SEQ number 38
INCIDENT_SUPPLEMENTS.SUPP_SEQ INC_GANG_INCSUP_FK C
Supplement Sequence Number 1 = Original Report
GAN_GANG_ID number 20
GANGS.GANG_ID INC_GANG_GAN_FK R
The gang id used to uniquely identify the gang.
GRCD_CODE varchar2 30
EJS_CODES.CODE INC_GANG_GRCD_CODE_EJS_CODE_FK R
COMMENTS varchar2 255  √  null
CREATOR_ID varchar2 100  √  null Domain to store an Oracle USER ID
CREATOR_DATE date 7  √  null
UPDATOR_ID varchar2 100  √  null Domain to store an Oracle USER ID
UPDATOR_DATE date 7  √  null
GRCD_CODE_TYPE varchar2 30  √  'GANG_ROLE_CODES'
EJS_CODES.CODE_TYPE INC_GANG_GRCD_CODE_EJS_CODE_FK R
REC_ID number 0  √  null

Analyzed at Mon Sep 20 21:05 MDT 2021

Requirements (check constraints):
Constraint Constraint Name
"GAN_GANG_ID" IS NOT NULL INC_GANG_GAN_GANG_ID_NN
"GRCD_CODE" IS NOT NULL INC_GANG_GRCD_CODE_NN
"INCSUP_INC_INCIDENT_ID" IS NOT NULL INC_GANG_INCSUP_INC_INCIDEN_NN
"INCSUP_SUPP_SEQ" IS NOT NULL INC_GANG_INCSUP_SUPP_SEQ_NN

Indexes:
Column(s) Type Sort Constraint Name
INCSUP_INC_INCIDENT_ID + INCSUP_SUPP_SEQ + GAN_GANG_ID + GRCD_CODE Primary key Asc/Asc/Asc/Asc INC_GANG_PK
GAN_GANG_ID Performance Asc INC_GANG_GAN_FK_I
GRCD_CODE_TYPE + GRCD_CODE Performance Asc/Asc INC_GANG_GRCD_CODE_EJS_CODE_I
GRCD_CODE Performance Asc INC_GANG_GRCD_FK_I
INCSUP_INC_INCIDENT_ID + INCSUP_SUPP_SEQ Performance Asc/Asc INC_GANG_INCSUP_FK_I

Close relationships  within of separation: