Difference between revisions of "OE.OC PRODUCT INFORMATION (view)"

From dbscript Online Help
Jump to: navigation, search
(New page: == wikibot == {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" |- | '''view | OE.OC_PRODUCT_INFORMATION |- |} <pre> </pre>)
 
Line 7: Line 7:
 
|-
 
|-
 
|}
 
|}
 +
  
 
<pre>
 
<pre>
 
+
CREATE OR REPLACE SELECT p.product_id, p.product_name, p.product_description, p.category_id,
 +
          p.weight_class, p.warranty_period, p.supplier_id, p.product_status,
 +
          p.list_price, p.min_price, p.catalog_url,
 +
          CAST(MULTISET(SELECT i.product_id,i.warehouse,i.quantity_on_hand
 +
                        FROM oc_inventories i
 +
                        WHERE p.product_id=i.product_id)
 +
                AS inventory_list_typ)
 +
    FROM product_information p
 
</pre>
 
</pre>

Revision as of 20:02, 24 August 2009

wikibot

view OE.OC_PRODUCT_INFORMATION


CREATE OR REPLACE SELECT p.product_id, p.product_name, p.product_description, p.category_id,
           p.weight_class, p.warranty_period, p.supplier_id, p.product_status,
           p.list_price, p.min_price, p.catalog_url,
           CAST(MULTISET(SELECT i.product_id,i.warehouse,i.quantity_on_hand
                         FROM oc_inventories i
                         WHERE p.product_id=i.product_id)
                AS inventory_list_typ)
    FROM product_information p