Difference between revisions of "OE.ORDERS VIEW (view)"

From dbscript Online Help
Jump to: navigation, search
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"
 
| '''View
 
| '''View
 
| OE.ORDERS_VIEW
 
| OE.ORDERS_VIEW
|-
 
 
|}
 
|}
 
  
 
=== Source ===
 
=== Source ===
Line 31: Line 29:
 
| '''Referenced Object
 
| '''Referenced Object
  
|-
+
|- valign="top"
 
| Select
 
| Select
 
| Table
 
| Table

Revision as of 06:15, 24 June 2010

wikibot

View OE.ORDERS_VIEW

Source

CREATE OR REPLACE VIEW OE.ORDERS_VIEW AS 
SELECT
  order_id,
  TO_DATE(TO_CHAR(order_date,'DD-MON-YY HH:MI:SS'),'DD-MON-YY HH:MI:SS') ORDER_DATE,
  order_mode,
  customer_id,
  order_status,
  order_total,
  sales_rep_id,
  promotion_id
FROM orders

References

Dependency Type Object Type Referenced Object
Select Table OE.ORDERS