PSC_COM_STATE_B

This table contains global state definitions according to ISO standards.

Details

  • Schema: FUSION

  • Object owner: PSC_CC

  • Object type: TABLE

  • Tablespace: REFERENCE

Primary Key

Name Columns

PSC_COM_STATE_B_PK

COUNTRY_CODE, STATE_CODE_ISO

Columns

Name Datatype Length Precision Not-null Comments Status
COUNTRY_CODE VARCHAR2 3 Yes Identifier of a country code according to the three character ISO standard. Active
STATE_CODE_ISO VARCHAR2 6 Yes Identifier of a state code according to first level subdivision ISO standard. Active
STATE_CODE_IV2 VARCHAR2 6 Identifier of a state code according to second level subdivision ISO standard. Active
STATE_CODE VARCHAR2 2 Identifier of a state code according to two character standard. Active
SUBDIVISION_TYPE NUMBER 2 Yes Identifier that classifies states based on the country. For example, state, emirate, province, district. Active
LOCALITY_GNIS_ID NUMBER 10 Identifier of the state according to the Geographic Names Information System (GNIS). Active
OBJECT_VERSION_NUMBER NUMBER 9 Yes Used to implement optimistic locking. This number is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried. Active
CREATED_BY VARCHAR2 64 Yes Who column: indicates the user who created the row. Active
CREATION_DATE TIMESTAMP Yes Who column: indicates the date and time of the creation of the row. Active
LAST_UPDATED_BY VARCHAR2 64 Yes Who column: indicates the user who last updated the row. Active
LAST_UPDATE_DATE TIMESTAMP Yes Who column: indicates the date and time of the last update of the row. Active
LAST_UPDATE_LOGIN VARCHAR2 32 Who column: indicates the session login associated to the user who last updated the row. Active
MODULE_ID VARCHAR2 32 Seed Data Framework: indicates the module that owns the row. A module is an entry in Application Taxonomy such as a Logical Business Area. When the MODULE_ID column exists and the owner of the row is not specified, then the Seed Data Framework will not extract the row as seed data. Active
SEED_DATA_LOCK NUMBER 1 Yes Indicates whether the row is seed data. Valid values are 0 for data that is customer data, 1 for seed data that cannot be modified, and 2 indicates that the seed data can be modified.
SEED_DATA_SOURCE VARCHAR2 512 Source of seed data record. A value of 'BULK_SEED_DATA_SCRIPT' indicates that record was bulk loaded. Otherwise, specifies the name of the seed data file.
DELETED_FLAG VARCHAR2 1 Yes Indicates whether the record is logically deleted (Y or N). Valid values are Y for deleted record, and N for active record. Default value is N.
ORA_SEED_SET1 VARCHAR2 1 Yes Oracle internal use only. Indicates the edition-based redefinition (EBR) context of the row for SET1. Context values are Y or N.
ORA_SEED_SET2 VARCHAR2 1 Yes Oracle internal use only. Indicates the edition-based redefinition (EBR) context of the row for SET2. Context values are Y or N.

Foreign Keys

Table Foreign Table Foreign Key Column
PSC_COM_STATE_B psc_com_country_b COUNTRY_CODE
psc_com_county_b psc_com_state_b COUNTRY_CODE, STATE_CODE_ISO
psc_com_state_tl psc_com_state_b COUNTRY_CODE, STATE_CODE_ISO

Indexes

Index Uniqueness Tablespace Columns Status
PSC_COM_STATE_B_PK Unique Default COUNTRY_CODE, STATE_CODE_ISO, ORA_SEED_SET1 Active
PSC_COM_STATE_B_PK1 Unique Default COUNTRY_CODE, STATE_CODE_ISO, ORA_SEED_SET2