Tables Relationships Utility Tables Constraints Anomalies Columns Download Rice 2.0 Schema Spy zip

Table rice-2.0.krim_entity_phone_t | Generated by SchemaSpy

Implied relationships Related columns Constraints Comments Legend |
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
--- | --- | --- | --- | --- | --- | --- | --- | ---
ENTITY_PHONE_ID | varchar | 40 |  |  |  |
krim_pnd_phone_mt.ENTITY_PHONE_ID | Implied Constraint R
OBJ_ID | varchar | 36 |  |  |  |  |  |
VER_NBR | decimal | 8 |  |  | 1 |  |  |
ENTITY_ID | varchar | 40 | √ |  | null |  |
krim_entity_ent_typ_t.ENTITY_ID | KRIM_ENTITY_PHONE_TR1 C
ENT_TYP_CD | varchar | 40 | √ |  | null |  |
krim_entity_ent_typ_t.ENT_TYP_CD | KRIM_ENTITY_PHONE_TR1 C
PHONE_TYP_CD | varchar | 40 | √ |  | null |  |
krim_phone_typ_t.PHONE_TYP_CD | KRIM_ENTITY_PHONE_TR2 R
PHONE_NBR | varchar | 20 | √ |  | null |  |  |
PHONE_EXTN_NBR | varchar | 8 | √ |  | null |  |  |
POSTAL_CNTRY_CD | varchar | 2 | √ |  | null |  |
krlc_cntry_t.POSTAL_CNTRY_CD | Implied Constraint R
DFLT_IND | varchar | 1 | √ |  | N |  |  |
ACTV_IND | varchar | 1 | √ |  | Y |  |  |
LAST_UPDT_DT | datetime | 19 | √ |  | null |  |  |
Table contained 0 rows at Mon May 07 20:18 PDT 2012

Indexes:

Column(s) | Type | Sort | Constraint Name
--- | --- | --- | ---
ENTITY_PHONE_ID | Primary key | Asc | PRIMARY
OBJ_ID | Must be unique | Asc | KRIM_ENTITY_PHONE_TC0
ENTITY_ID | Performance | Asc | KRIM_ENTITY_PHONE_TI1
ENT_TYP_CD + ENTITY_ID | Performance | Asc/Asc | KRIM_ENTITY_PHONE_TR1
PHONE_TYP_CD | Performance | Asc | KRIM_ENTITY_PHONE_TR2

Close relationships within one two degrees of separation: