Editing SH.COUNTRIES (table)

Jump to: navigation, search

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"
|- valign="top"
+
|-
 
| '''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
 
+
|- valign="top"
+
|-
 
| COUNTRY_ID
 
| COUNTRY_ID
 
| NUMBER
 
| NUMBER
Line 25: Line 27:
 
|  
 
|  
 
| primary key
 
| primary key
|- valign="top"
+
|-
 
| COUNTRY_ISO_CODE
 
| COUNTRY_ISO_CODE
 
| CHAR(2)
 
| CHAR(2)
Line 31: Line 33:
 
|  
 
|  
 
|  
 
|  
|- valign="top"
+
|-
 
| COUNTRY_NAME
 
| COUNTRY_NAME
 
| VARCHAR2(40)
 
| VARCHAR2(40)
Line 37: Line 39:
 
|  
 
|  
 
| country name
 
| country name
|- valign="top"
+
|-
 
| 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
|- valign="top"
+
|-
 
| COUNTRY_SUBREGION_ID
 
| COUNTRY_SUBREGION_ID
 
| NUMBER
 
| NUMBER
Line 49: Line 51:
 
|  
 
|  
 
|  
 
|  
|- valign="top"
+
|-
 
| COUNTRY_REGION
 
| COUNTRY_REGION
 
| VARCHAR2(20)
 
| VARCHAR2(20)
Line 55: Line 57:
 
|  
 
|  
 
| e.g. Europe, Asia
 
| e.g. Europe, Asia
|- valign="top"
+
|-
 
| COUNTRY_REGION_ID
 
| COUNTRY_REGION_ID
 
| NUMBER
 
| NUMBER
Line 61: Line 63:
 
|  
 
|  
 
|  
 
|  
|- valign="top"
+
|-
 
| COUNTRY_TOTAL
 
| COUNTRY_TOTAL
 
| VARCHAR2(11)
 
| VARCHAR2(11)
Line 67: Line 69:
 
|  
 
|  
 
|  
 
|  
|- valign="top"
+
|-
 
| COUNTRY_TOTAL_ID
 
| COUNTRY_TOTAL_ID
 
| NUMBER
 
| NUMBER
Line 73: Line 75:
 
|  
 
|  
 
|  
 
|  
|- valign="top"
+
|-
 
| COUNTRY_NAME_HIST
 
| COUNTRY_NAME_HIST
 
| VARCHAR2(40)
 
| VARCHAR2(40)
Line 86: Line 88:
 
| '''Primary Key
 
| '''Primary Key
 
| '''Columns
 
| '''Columns
|- valign="top"
+
|-
 
| COUNTRIES_PK
 
| COUNTRIES_PK
 
| COUNTRY_ID
 
| COUNTRY_ID
Line 97: Line 99:
 
| '''Expression
 
| '''Expression
 
| '''Description
 
| '''Description
 
+
|- valign="top"
+
|-
 
| SYS_C005180
 
| SYS_C005180
 
| "COUNTRY_ID" IS NOT NULL
 
| "COUNTRY_ID" IS NOT NULL
 
|  
 
|  
|- valign="top"
+
|-
 
| SYS_C005181
 
| SYS_C005181
 
| "COUNTRY_ISO_CODE" IS NOT NULL
 
| "COUNTRY_ISO_CODE" IS NOT NULL
 
|  
 
|  
|- valign="top"
+
|-
 
| SYS_C005182
 
| SYS_C005182
 
| "COUNTRY_NAME" IS NOT NULL
 
| "COUNTRY_NAME" IS NOT NULL
 
|  
 
|  
|- valign="top"
+
|-
 
| SYS_C005183
 
| SYS_C005183
 
| "COUNTRY_SUBREGION" IS NOT NULL
 
| "COUNTRY_SUBREGION" IS NOT NULL
 
|  
 
|  
|- valign="top"
+
|-
 
| SYS_C005184
 
| SYS_C005184
 
| "COUNTRY_SUBREGION_ID" IS NOT NULL
 
| "COUNTRY_SUBREGION_ID" IS NOT NULL
 
|  
 
|  
|- valign="top"
+
|-
 
| SYS_C005185
 
| SYS_C005185
 
| "COUNTRY_REGION" IS NOT NULL
 
| "COUNTRY_REGION" IS NOT NULL
 
|  
 
|  
|- valign="top"
+
|-
 
| SYS_C005186
 
| SYS_C005186
 
| "COUNTRY_REGION_ID" IS NOT NULL
 
| "COUNTRY_REGION_ID" IS NOT NULL
 
|  
 
|  
|- valign="top"
+
|-
 
| SYS_C005187
 
| SYS_C005187
 
| "COUNTRY_TOTAL" IS NOT NULL
 
| "COUNTRY_TOTAL" IS NOT NULL
 
|  
 
|  
|- valign="top"
+
|-
 
| 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
 
+
|- valign="top"
+
|-
 
| [[SH.CUSTOMERS_(table)|SH.CUSTOMERS]]
 
| [[SH.CUSTOMERS_(table)|SH.CUSTOMERS]]
 
| COUNTRY_ID
 
| COUNTRY_ID
 
| COUNTRY_ID
 
| COUNTRY_ID
 
|}
 
|}

Please note that all contributions to dbscript Online Help may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Project:Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)