Table slot9.WORLD.TSTA.GANGS
This table stores the MASTER GANG information added 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
GANG_ID number 20
FIELD_INT_SEARCH_GANG_VW.GANG_ID Implied Constraint R
FLDINT_GANG_VW.GANG_ID Implied Constraint R
FLDINT_GANGS.GANG_ID FI_GANG_GAN_1_FK C
GANG_ASSOCIATIONS.GANG_ASSOCIATION_ID GAN_ASSOC_GAN_FK R
GANG_ASSOCIATIONS.GANG_ID GAN_ID_GAN_FK R
GANG_ATTACHMENTS.GANG_ID GA_GAN_FK R
GANG_IMAGES.GANG_ID GI_GAN_FK R
GANG_NAMES.GANG_ID GN_GAN_FK R
GANG_PEOPLE.GANG_ID GP_GAN_FK R
GANG_SEARCH_VW.GANG_ID Implied Constraint R
GANG_SOLR_SEARCH_VW.GANG_ID Implied Constraint R
INCIDENT_GANG_VW.GANG_ID Implied Constraint R
INCIDENT_GANGS.GAN_GANG_ID INC_GANG_GAN_FK R
JS_FIELD_CONTACT_GANG_VW.GANG_ID Implied Constraint R
The gang 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
LEVEL_CODE varchar2 2
GANG_LEVEL_CODES.LEVEL_CODE GAN_GL_FK R
The code to identify the gang level.
GANG_TYPE_CODE varchar2 30
EJS_CODES.CODE GANG_GTYPE_EJS_CODES_FK R
The code for the type of gang.
INDX_SEC_LEVEL_CODE number 0  √  1
MASTER_INDEX_SECURITY_CODES.INDX_SEC_LEVEL_CODE GANGS_MIS_CD_CD_FK R
INDX_SEC_LEVEL_ID varchar2 100  √  null
INDX_SEC_LEVEL_AGENCY varchar2 30  √  null
ACTIVE_SUBSCRIPTION varchar2 1  √  null
REC_ID number 0  √  null
GANG_TYPE_CD_TYPE varchar2 30 'GANG_TYPE_CODES'
EJS_CODES.CODE_TYPE GANG_GTYPE_EJS_CODES_FK R

Analyzed at Mon Sep 20 21:05 MDT 2021

Requirements (check constraints):
Constraint Constraint Name
"GANG_ID" IS NOT NULL GAN_GANG_ID_NN
"GANG_TYPE_CODE" IS NOT NULL GAN_GANG_TYPE_CODE_NN
"LEVEL_CODE" IS NOT NULL GAN_LEVEL_CODE_NN
"GANG_TYPE_CD_TYPE" IS NOT NULL GANG_TYPE_CD_TYPE_NN

Indexes:
Column(s) Type Sort Constraint Name
GANG_ID Primary key Asc GAN_PK
LEVEL_CODE Performance Asc GAN_GL_FK_I
GANG_TYPE_CD_TYPE + GANG_TYPE_CODE Performance Asc/Asc GANG_GTYPE_EJS_CODES_FK_I
INDX_SEC_LEVEL_CODE Performance Asc GANGS_INDX_SEC_LEVEL_CD_I

Close relationships  within of separation: