Difference between revisions of "HR.REGIONS (table)"

From dbscript Online Help
Jump to: navigation, search
Line 9: Line 9:
  
  
 +
=== Columns ===
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 
|- style="background:silver"
 
|- style="background:silver"
Line 15: Line 16:
 
| '''Nullable
 
| '''Nullable
 
| '''Default
 
| '''Default
| '''PK
+
| '''Description
| '''Index
 
 
 
 
|-
 
|-
Line 23: Line 23:
 
| not null
 
| not null
 
|  
 
|  
| REG_ID_PK
 
 
|  
 
|  
 
|-
 
|-
Line 29: Line 28:
 
| VARCHAR2(25)
 
| VARCHAR2(25)
 
| null
 
| null
|
 
 
|  
 
|  
 
|  
 
|  
 
|}
 
|}
  
 +
=== Primary Key ===
 +
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 +
|- style="background:silver"
 +
| '''Primary Key
 +
| '''Columns
 +
|-
 +
| REG_ID_PK
 +
| REGION_ID
 +
|}
  
 +
=== Check Constraints ===
 +
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 +
|- style="background:silver"
 +
| '''Check Constraint
 +
| '''Expression
 +
| '''Description
 +
 +
|-
 +
| REGION_ID_NN
 +
| "REGION_ID" IS NOT NULL
 +
|
 +
|}
  
 +
=== Detail Tables ===
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 
|- style="background:silver"
 
|- style="background:silver"

Revision as of 09:27, 11 February 2010

wikibot

Table HR.REGIONS


Columns

Column Data Type Nullable Default Description
REGION_ID NUMBER not null
REGION_NAME VARCHAR2(25) null

Primary Key

Primary Key Columns
REG_ID_PK REGION_ID

Check Constraints

Check Constraint Expression Description
REGION_ID_NN "REGION_ID" IS NOT NULL

Detail Tables

Detail Table Column Referencing Column
HR.COUNTRIES REGION_ID REGION_ID