Table slot9.WORLD.TSTA.CRIMINAL_COMPLAINT_INCIDENTS
This table stores incident associations to criminal complaint records.

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
ID number 0
COURT_CASE_DELETE.ID Implied Constraint R
PK - Unique identifier for each criminal complaint incident record.
CRIMINAL_COMPLAINT_ID number 0
CRIMINAL_COMPLAINTS.ID CCINCS_CRMCMP_FK R
FK to criminal_complaints table. Identify the criminal complaint record for association.
INC_INCIDENT_ID number 0
INCIDENTS.INCIDENT_ID CCINCS_INC_FK R
FK to incidents table. Identify the incident record for association.
PRIMARY_FLAG varchar2 1 'N' Y/N flag indicates if the criminal complaint was created from this incident.
CREATOR_ID varchar2 100  √  null
CREATOR_DATE date 7  √  null
UPDATOR_ID varchar2 100  √  null
UPDATOR_DATE date 7  √  null
REC_ID number 0  √  null

Analyzed at Mon Sep 20 21:05 MDT 2021

Requirements (check constraints):
Constraint Constraint Name
"CRIMINAL_COMPLAINT_ID" IS NOT NULL CCINCS_COMP_ID_NN
"ID" IS NOT NULL CCINCS_ID_NN
"INC_INCIDENT_ID" IS NOT NULL CCINCS_INC_ID_NN
"PRIMARY_FLAG" IS NOT NULL CCINCS_PRIMARY_NN
PRIMARY_FLAG IN ( 'Y' , 'N' ) CK_CCINCS_PRIMARY_FLAG

Indexes:
Column(s) Type Sort Constraint Name
ID Primary key Asc CCINCS_PK
CRIMINAL_COMPLAINT_ID Performance Asc CCINCS_CRMCMP_FK_I
INC_INCIDENT_ID Performance Asc CCINCS_INC_FK_I

Close relationships  within of separation: