Table slot9.WORLD.TSTA.CPN_LOC_CATEGORIES
This table stores one or more categories (like Clery place codes) associated with a standard common place name.

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
CPN_ID number 0
COMMON_PLACE_NAMES.CPN_ID CPNCAT_CPN_FK C
Unique ID number for common name, FK to COMMON_PLACE_NAMES.
LOC_CATEGORY_CODE varchar2 30
EJS_CODES.CODE CPNCAT_EJS_CODES_FK R
Code for category associated with this common name, FK to EJS_CODES.
LOC_CATEGORY_CODE_TYPE varchar2 30
EJS_CODES.CODE_TYPE CPNCAT_EJS_CODES_FK R
EJS_CODES Code type for this category, e.g. LOCATION_CATEGORY_CODES
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
REC_ID number 0  √  null

Analyzed at Mon Sep 20 21:05 MDT 2021

Requirements (check constraints):
Constraint Constraint Name
"LOC_CATEGORY_CODE" IS NOT NULL CPNCAT_CAT_CODE_NN
"LOC_CATEGORY_CODE_TYPE" IS NOT NULL CPNCAT_CAT_CODE_TYPE_NN
"CPN_ID" IS NOT NULL CPNCAT_CPN_ID_NN

Indexes:
Column(s) Type Sort Constraint Name
CPN_ID + LOC_CATEGORY_CODE + LOC_CATEGORY_CODE_TYPE Primary key Asc/Asc/Asc CPNCAT_PK
LOC_CATEGORY_CODE_TYPE + LOC_CATEGORY_CODE Performance Asc/Asc CPNCAT_EJS_CODES_FK_I

Close relationships  within of separation: