Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Question on SELECT LEVEL...CONNECT BY, tree-walking
In article <7f525b$ml1$1_at_nnrp1.dejanews.com>,
Eduardo Pimenta <epimenta_at_my-dejanews.com> wrote:
> In article <7f0g1r$qfc$1_at_nnrp1.dejanews.com>,
[snip]
> This line should read CONNECT BY PRIOR psf_part = psf_assy
[snip]
Actually, (as pointed out by another poster) the line should have been:
CONNECT BY psf_assy = PRIOR psf_part
Which does the treewalk in the correct direction. I though the direction was determined by whether the PRIOR was there or not, and Oracle didn't complain -- it just gave the wrong answer when I left it out. The Oracle documentation was nearly opaque on this subject.
--
Howard Lee Harkness
-----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own Received on Thu Apr 15 1999 - 18:01:05 CDT