Table slot9.WORLD.TSTA.ARREST_OFFICERS
This table stores the association to an officer added to an ARREST 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
ARREST_ID number 0
ARRESTS.ARREST_ID AO_ARR_FK C
Arrest ID number.
OFFICER_ID number 0
OFFICERS.OFFICER_ID AO_OFF1_FK R
Officer ID number
CREATOR_ID varchar2 100  √  null Person creating the record
CREATOR_DATE date 7  √  null Date of record creation
UPDATOR_ID varchar2 100  √  null Person creating the record
UPDATOR_DATE date 7  √  null Date of record creation
ROLE_CODE varchar2 1
OFFICER_ROLE_CODES.ROLE_CODE AO_OFC_FK R
Role that the officer played in making the arrest.
REC_ID number 0  √  null

Analyzed at Mon Sep 20 21:05 MDT 2021

Requirements (check constraints):
Constraint Constraint Name
"ARREST_ID" IS NOT NULL AO_ARREST_ID_NN
"OFFICER_ID" IS NOT NULL AO_OFFICER_ID_NN
"ROLE_CODE" IS NOT NULL AO_ROLE_CODE_NN

Indexes:
Column(s) Type Sort Constraint Name
ROLE_CODE + OFFICER_ID + ARREST_ID Primary key Asc/Asc/Asc AO_PK
ARREST_ID Performance Asc AO_ARR_FK_I
OFFICER_ID Performance Asc AO_OFF1_FK_I
ROLE_CODE Performance Asc AO_ORC_FK_I

Close relationships  within of separation: