Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> SQL: Connect by/Start with
Can anybody tell me what's the difference about this statements AND WHY!!!
1st)
select mic.assembly_item_idconnect by prior mic.component_item_id = mic.assembly_item_id
, mic.component_item_id
, mic.organization_id
, level
from mcg_inventory_components mic where mic.organization_id = 6 start with mic.assembly_item_id = &assembly_id
2nd)
select mic.assembly_item_idconnect by prior mic.component_item_id = mic.assembly_item_id where mic.organization_id = 6
, mic.component_item_id
, mic.organization_id
, level
from mcg_inventory_components mic start with mic.assembly_item_id = &assembly_id
3rd)
select mic.assembly_item_idconnect by prior mic.component_item_id = mic.assembly_item_id and mic.organization_id = 6
, mic.component_item_id
, mic.organization_id
, level
from mcg_inventory_components mic where mic.organization_id = 6 start with mic.assembly_item_id = &assembly_id
THANX, Michael.
-----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own Received on Tue Feb 02 1999 - 08:34:56 CST