Difference between revisions of "OE.PRODUCT INFORMATION (table)"

From dbscript Online Help
Jump to: navigation, search
Line 5: Line 5:
 
| '''Table
 
| '''Table
 
| OE.PRODUCT_INFORMATION
 
| OE.PRODUCT_INFORMATION
 +
|- valign="top"
 +
| '''Description
 +
| Non-industry-specific data in various categories.
 
|-
 
|-
 
|}
 
|}
  
  
 +
=== 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 19:
 
| '''Nullable
 
| '''Nullable
 
| '''Default
 
| '''Default
| '''PK
+
| '''Description
| '''Index
 
 
 
 
|-
 
|-
Line 23: Line 26:
 
| not null
 
| not null
 
|  
 
|  
| PRODUCT_INFORMATION_PK
+
| Primary key column.
|
 
 
|-
 
|-
 
| PRODUCT_NAME
 
| PRODUCT_NAME
 
| VARCHAR2(50)
 
| VARCHAR2(50)
 
| null
 
| null
|
 
 
|  
 
|  
 
|  
 
|  
Line 37: Line 38:
 
| null
 
| null
 
|  
 
|  
|  
+
| Primary language description corresponding to translated_description in
|
+
oe.product_descriptions, added to provide non-NLS text columns for OC views
 +
to accss.
 
|-
 
|-
 
| CATEGORY_ID
 
| CATEGORY_ID
Line 44: Line 46:
 
| null
 
| null
 
|  
 
|  
|  
+
| Low cardinality column, can be used for bitmap index.
|
+
Schema SH uses it as foreign key
 
|-
 
|-
 
| WEIGHT_CLASS
 
| WEIGHT_CLASS
Line 51: Line 53:
 
| null
 
| null
 
|  
 
|  
|  
+
| Low cardinality column, can be used for bitmap index.
|
 
 
|-
 
|-
 
| WARRANTY_PERIOD
 
| WARRANTY_PERIOD
Line 58: Line 59:
 
| null
 
| null
 
|  
 
|  
|  
+
| INTERVAL YEAER TO MONTH column, low cardinality, can be used for bitmap
|
+
index.
 
|-
 
|-
 
| SUPPLIER_ID
 
| SUPPLIER_ID
Line 65: Line 66:
 
| null
 
| null
 
|  
 
|  
|  
+
| Offers possibility of extensions outside Common Schema.
| PROD_SUPPLIER_IX
 
 
|-
 
|-
 
| PRODUCT_STATUS
 
| PRODUCT_STATUS
Line 72: Line 72:
 
| null
 
| null
 
|  
 
|  
|  
+
| Check constraint. Appropriate for complex rules, such as "All products in
|
+
status PRODUCTION must have at least one inventory entry." Also appropriate
 +
for a trigger auditing status change.
 
|-
 
|-
 
| LIST_PRICE
 
| LIST_PRICE
 
| NUMBER(8, 2)
 
| NUMBER(8, 2)
 
| null
 
| null
|
 
 
|  
 
|  
 
|  
 
|  
Line 85: Line 85:
 
| NUMBER(8, 2)
 
| NUMBER(8, 2)
 
| null
 
| null
|
 
 
|  
 
|  
 
|  
 
|  
Line 94: Line 93:
 
|  
 
|  
 
|  
 
|  
 +
|}
 +
 +
=== Primary Key ===
 +
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 +
|- style="background:silver"
 +
| '''Primary Key
 +
| '''Columns
 +
|-
 +
| PRODUCT_INFORMATION_PK
 +
| PRODUCT_ID
 +
|}
 +
 +
=== Indexes ===
 +
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 +
|- style="background:silver"
 +
| '''Index
 +
| '''Type
 +
| '''Columns
 +
 +
|-
 +
| PROD_SUPPLIER_IX
 
|  
 
|  
 +
| SUPPLIER_ID
 
|}
 
|}
  
 +
=== Check Constraints ===
 +
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 +
|- style="background:silver"
 +
| '''Check Constraint
 +
| '''Expression
 +
| '''Description
 +
 +
|-
 +
| PRODUCT_STATUS_LOV
 +
| product_status in ('orderable'
 +
                                                  ,'planned'
 +
                                                  ,'under development'
 +
                                                  ,'obsolete')
 +
                             
 +
|
 +
|}
  
 
+
=== 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"
Line 125: Line 162:
 
| PRODUCT_ID
 
| PRODUCT_ID
 
| PRODUCT_ID
 
| PRODUCT_ID
 +
|}
 +
 +
=== Dependencies ===
 +
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 +
|- style="background:silver"
 +
| '''Reference Type
 +
| '''Object Type
 +
| '''Referencing Object
 +
 +
|-
 +
| Select
 +
| View
 +
| [[OE.OC_PRODUCT_INFORMATION_(view)|OE.OC_PRODUCT_INFORMATION]]
 +
 +
|-
 +
| Select
 +
| View
 +
| [[OE.PRODUCT_PRICES_(view)|OE.PRODUCT_PRICES]]
 +
 +
|-
 +
| Select
 +
| View
 +
| [[OE.PRODUCTS_(view)|OE.PRODUCTS]]
 +
 
|}
 
|}

Revision as of 08:28, 11 February 2010

wikibot

Table OE.PRODUCT_INFORMATION
Description Non-industry-specific data in various categories.


Columns

Column Data Type Nullable Default Description
PRODUCT_ID NUMBER(6, 0) not null Primary key column.
PRODUCT_NAME VARCHAR2(50) null
PRODUCT_DESCRIPTION VARCHAR2(2000) null Primary language description corresponding to translated_description in

oe.product_descriptions, added to provide non-NLS text columns for OC views to accss.

CATEGORY_ID NUMBER(2, 0) null Low cardinality column, can be used for bitmap index.

Schema SH uses it as foreign key

WEIGHT_CLASS NUMBER(1, 0) null Low cardinality column, can be used for bitmap index.
WARRANTY_PERIOD INTERVAL YEAR(2) TO MONTH null INTERVAL YEAER TO MONTH column, low cardinality, can be used for bitmap

index.

SUPPLIER_ID NUMBER(6, 0) null Offers possibility of extensions outside Common Schema.
PRODUCT_STATUS VARCHAR2(20) null Check constraint. Appropriate for complex rules, such as "All products in

status PRODUCTION must have at least one inventory entry." Also appropriate for a trigger auditing status change.

LIST_PRICE NUMBER(8, 2) null
MIN_PRICE NUMBER(8, 2) null
CATALOG_URL VARCHAR2(50) null

Primary Key

Primary Key Columns
PRODUCT_INFORMATION_PK PRODUCT_ID

Indexes

Index Type Columns
PROD_SUPPLIER_IX SUPPLIER_ID

Check Constraints

Check Constraint Expression Description
PRODUCT_STATUS_LOV product_status in ('orderable'
                                                 ,'planned'
                                                 ,'under development'
                                                 ,'obsolete')
                              

Detail Tables

Detail Table Column Referencing Column
OE.INVENTORIES PRODUCT_ID PRODUCT_ID
PM.ONLINE_MEDIA PRODUCT_ID PRODUCT_ID
OE.ORDER_ITEMS PRODUCT_ID PRODUCT_ID
OE.PRODUCT_DESCRIPTIONS PRODUCT_ID PRODUCT_ID
PM.PRINT_MEDIA PRODUCT_ID PRODUCT_ID

Dependencies

Reference Type Object Type Referencing Object
Select View OE.OC_PRODUCT_INFORMATION
Select View OE.PRODUCT_PRICES
Select View OE.PRODUCTS