Editing SH.COUNTRIES (table)
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 2: | Line 2: | ||
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
− | |- | + | |- |
| '''Table | | '''Table | ||
| SH.COUNTRIES | | SH.COUNTRIES | ||
Line 8: | Line 8: | ||
| '''Description | | '''Description | ||
| country dimension table (snowflake) | | country dimension table (snowflake) | ||
+ | |- | ||
|} | |} | ||
+ | |||
=== Columns === | === Columns === | ||
Line 18: | Line 20: | ||
| '''Default | | '''Default | ||
| '''Description | | '''Description | ||
− | + | ||
− | |- | + | |- |
| COUNTRY_ID | | COUNTRY_ID | ||
| NUMBER | | NUMBER | ||
Line 25: | Line 27: | ||
| | | | ||
| primary key | | primary key | ||
− | |- | + | |- |
| COUNTRY_ISO_CODE | | COUNTRY_ISO_CODE | ||
| CHAR(2) | | CHAR(2) | ||
Line 31: | Line 33: | ||
| | | | ||
| | | | ||
− | |- | + | |- |
| COUNTRY_NAME | | COUNTRY_NAME | ||
| VARCHAR2(40) | | VARCHAR2(40) | ||
Line 37: | Line 39: | ||
| | | | ||
| country name | | country name | ||
− | |- | + | |- |
| COUNTRY_SUBREGION | | COUNTRY_SUBREGION | ||
| VARCHAR2(30) | | VARCHAR2(30) | ||
Line 43: | Line 45: | ||
| | | | ||
| e.g. Western Europe, to allow hierarchies | | e.g. Western Europe, to allow hierarchies | ||
− | |- | + | |- |
| COUNTRY_SUBREGION_ID | | COUNTRY_SUBREGION_ID | ||
| NUMBER | | NUMBER | ||
Line 49: | Line 51: | ||
| | | | ||
| | | | ||
− | |- | + | |- |
| COUNTRY_REGION | | COUNTRY_REGION | ||
| VARCHAR2(20) | | VARCHAR2(20) | ||
Line 55: | Line 57: | ||
| | | | ||
| e.g. Europe, Asia | | e.g. Europe, Asia | ||
− | |- | + | |- |
| COUNTRY_REGION_ID | | COUNTRY_REGION_ID | ||
| NUMBER | | NUMBER | ||
Line 61: | Line 63: | ||
| | | | ||
| | | | ||
− | |- | + | |- |
| COUNTRY_TOTAL | | COUNTRY_TOTAL | ||
| VARCHAR2(11) | | VARCHAR2(11) | ||
Line 67: | Line 69: | ||
| | | | ||
| | | | ||
− | |- | + | |- |
| COUNTRY_TOTAL_ID | | COUNTRY_TOTAL_ID | ||
| NUMBER | | NUMBER | ||
Line 73: | Line 75: | ||
| | | | ||
| | | | ||
− | |- | + | |- |
| COUNTRY_NAME_HIST | | COUNTRY_NAME_HIST | ||
| VARCHAR2(40) | | VARCHAR2(40) | ||
Line 86: | Line 88: | ||
| '''Primary Key | | '''Primary Key | ||
| '''Columns | | '''Columns | ||
− | |- | + | |- |
| COUNTRIES_PK | | COUNTRIES_PK | ||
| COUNTRY_ID | | COUNTRY_ID | ||
Line 97: | Line 99: | ||
| '''Expression | | '''Expression | ||
| '''Description | | '''Description | ||
− | + | ||
− | |- | + | |- |
| SYS_C005180 | | SYS_C005180 | ||
| "COUNTRY_ID" IS NOT NULL | | "COUNTRY_ID" IS NOT NULL | ||
| | | | ||
− | |- | + | |- |
| SYS_C005181 | | SYS_C005181 | ||
| "COUNTRY_ISO_CODE" IS NOT NULL | | "COUNTRY_ISO_CODE" IS NOT NULL | ||
| | | | ||
− | |- | + | |- |
| SYS_C005182 | | SYS_C005182 | ||
| "COUNTRY_NAME" IS NOT NULL | | "COUNTRY_NAME" IS NOT NULL | ||
| | | | ||
− | |- | + | |- |
| SYS_C005183 | | SYS_C005183 | ||
| "COUNTRY_SUBREGION" IS NOT NULL | | "COUNTRY_SUBREGION" IS NOT NULL | ||
| | | | ||
− | |- | + | |- |
| SYS_C005184 | | SYS_C005184 | ||
| "COUNTRY_SUBREGION_ID" IS NOT NULL | | "COUNTRY_SUBREGION_ID" IS NOT NULL | ||
| | | | ||
− | |- | + | |- |
| SYS_C005185 | | SYS_C005185 | ||
| "COUNTRY_REGION" IS NOT NULL | | "COUNTRY_REGION" IS NOT NULL | ||
| | | | ||
− | |- | + | |- |
| SYS_C005186 | | SYS_C005186 | ||
| "COUNTRY_REGION_ID" IS NOT NULL | | "COUNTRY_REGION_ID" IS NOT NULL | ||
| | | | ||
− | |- | + | |- |
| SYS_C005187 | | SYS_C005187 | ||
| "COUNTRY_TOTAL" IS NOT NULL | | "COUNTRY_TOTAL" IS NOT NULL | ||
| | | | ||
− | |- | + | |- |
| SYS_C005188 | | SYS_C005188 | ||
| "COUNTRY_TOTAL_ID" IS NOT NULL | | "COUNTRY_TOTAL_ID" IS NOT NULL | ||
Line 142: | Line 144: | ||
| '''Column | | '''Column | ||
| '''Referencing Column | | '''Referencing Column | ||
− | + | ||
− | |- | + | |- |
| [[SH.CUSTOMERS_(table)|SH.CUSTOMERS]] | | [[SH.CUSTOMERS_(table)|SH.CUSTOMERS]] | ||
| COUNTRY_ID | | COUNTRY_ID | ||
| COUNTRY_ID | | COUNTRY_ID | ||
|} | |} |