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

Table rice-2.0.krim_entity_addr_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_ADDR_ID | varchar | 40 |  |  |  |
krim_pnd_addr_mt.ENTITY_ADDR_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_ADDR_TR1 C
ENT_TYP_CD | varchar | 40 | √ |  | null |  |
krim_entity_ent_typ_t.ENT_TYP_CD | KRIM_ENTITY_ADDR_TR1 C
ADDR_TYP_CD | varchar | 40 | √ |  | null |  |
krim_addr_typ_t.ADDR_TYP_CD | KRIM_ENTITY_ADDR_TR2 R
ADDR_LINE_1 | varchar | 45 | √ |  | null |  |  |
ADDR_LINE_2 | varchar | 45 | √ |  | null |  |  |
ADDR_LINE_3 | varchar | 45 | √ |  | null |  |  |
CITY | varchar | 30 | √ |  | null |  |  |
STATE_PVC_CD | varchar | 2 | √ |  | null |  |  |
POSTAL_CD | varchar | 20 | √ |  | 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 |  |  |
ATTN_LINE | varchar | 45 | √ |  | null |  |  |
ADDR_FMT | varchar | 256 | √ |  | null |  |  |
MOD_DT | datetime | 19 | √ |  | null |  |  |
VALID_DT | datetime | 19 | √ |  | null |  |  |
VALID_IND | varchar | 1 | √ |  | null |  |  |
NOTE_MSG | varchar | 1024 | √ |  | null |  |  |
Table contained 0 rows at Mon May 07 20:18 PDT 2012

Indexes:

Column(s) | Type | Sort | Constraint Name
--- | --- | --- | ---
ENTITY_ADDR_ID | Primary key | Asc | PRIMARY
OBJ_ID | Must be unique | Asc | KRIM_ENTITY_ADDR_TC0
ENTITY_ID | Performance | Asc | KRIM_ENTITY_ADDR_TI1
ENT_TYP_CD + ENTITY_ID | Performance | Asc/Asc | KRIM_ENTITY_ADDR_TR1
ADDR_TYP_CD | Performance | Asc | KRIM_ENTITY_ADDR_TR2

Close relationships within one two degrees of separation: