Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Oracle Family Trees and connect by
I am trying to create a hierarchical listing of parent child
relationships in Oracle but there appears to be a bug that I am
finding. When a connect by is done, the levels will not
be in any certain order. I thought that since I was doing a connect by
using particular fields that the ordering would be ascending by that
connect by field. I guess not.
Any comments or suggestions would be much appreciated.
Here is the query I am doing and the output.
SQL> select LPAD('____', 4*(Level-1), '____')||journal_name as
Hierarchy
2 from journal_list
3 where net_id = 205
4 start with journal_name = 'Industrial Organization and Regulation'
5 connect by parent_journal_name = prior journal_name;
HIERARCHY
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Fri Feb 25 2000 - 15:52:06 CST
![]() |
![]() |