Re: Oracle7 SQL - start with/connect by

From: Archana Agarwal <aagarwa2_at_osf1.gmu.edu>
Date: 1997/01/29
Message-ID: <5co729$uma_at_portal.gmu.edu>#1/1


Hi:

        Just change the position of prior viz:

  1. connect by parent = prior child change this to
  2. connect by prior parent = child

I hope this helps

Pankaj
pgarg_at_ahcpr.gov

Jyothi Nagaraj (nagaraj_jyothi_at_isus.emc.com) wrote:
: Hello,
 

: In Oracle7 SQL, there is a construct
: "start with - connect by" which allows you
: to select rows in a hierarchical order from
: a table that contains hierarchical data.
: This selects successive generations of child
: rows with respect to a parent row.
: Is there any way to select all
: parent rows, when you specify a child row?
: (basically get the reverse hierarchy)
 

: Thanks,
: Jyothi
: e-mail: nagaraj_jyothi_at_isus.emc.com
Received on Wed Jan 29 1997 - 00:00:00 CET

Original text of this message