Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> CONNECT BY sql statement
in using a connect, as in:
SELECT ID from table
START WITH ID='1234'
CONNECT BY ID = PRIOR PARENT_ID
I get a list of ids back. In my case, I just want to
report back the first parent id encountered. Any
clues on how I can do this. I thinking I'm missing
something obvious.
Thanks,
Carol