country_code

-1 rows


Description

A list of countries, serving as a reference for country-specific data.

Columns

Column Type Size Nulls Auto Default Children Parents Comments
country_code varchar 2 null
identification_type_code.country_code Implied Constraint R
province_code.country_code province_code_country_code_fk R
submission_location.country_code submission_location_country_code_fk R

A code representing the code of a country.

description varchar 100 null

The description of the code value.

effective_date date 13 null

The date that the code value has become or is expected to become effective. Default is the data that the code value is created.

expiry_date date 13 to_date('99991231'::text, 'YYYYMMDD'::text)

The date on which the code value has expired or is expected to expire. Default 9999-12-31.

display_order int4 10 null

The the display order of a country. If no value is provided, the application will order countries alphabetically by default.

create_timestamp timestamp 29,6 CURRENT_TIMESTAMP

The date and time the record was created.

update_timestamp timestamp 29,6 CURRENT_TIMESTAMP

The date and time the record was created or last updated.

create_user varchar 60 null

The user or proxy account that created the record.

update_user varchar 60 null

The user or proxy account that created or last updated the record.

Indexes

Constraint Name Type Sort Column(s)
country_code_pk Primary key Asc country_code
display_order_uk Must be unique Asc display_order

Relationships