Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Connect By Woes
The following predicate works on 8.1.5, and I have always
assumed it worked anyway on 7 (but haven't checked).
connect by
p_col1 = prior col1
and p_col2 = prior col2
or in your case
connect by
PARENT_ID = PRIOR SELF_ID
and PREVIOUS_ID = PRIOR SELF
--
Jonathan Lewis
Yet another Oracle-related web site: www.jlcomp.demon.co.uk
Howard Lee Harkness wrote in message
<3DE1620F55F92721.911EA3E0C2E61B80.9988ACB3DEFF012E_at_lp.airnews.net>...
>On Sat, 17 Jul 1999 04:55:23 GMT, Martin Douglas
><Martin.Douglas_at_Boeing.com> wrote:
>
>>Does anyone know if Oracle 8.1.5 has extended CONNECT BY to something
>>like...
>>
>> CONNECT BY (PARENT_ID = PRIOR SELF_ID, PREVIOUS_ID = PRIOR SELF, ...)
>
Received on Thu Jul 22 1999 - 09:37:59 CDT
![]() |
![]() |