Hi,
we have query which has Connect By level with where condition.
select * FROM acct_det
WHERE acct_type is NOT NULL
CONNECT BY level <= 5
This statement is working fine without 'where' condition But, when I include WHERE clause, the query runs forever without result.
Any suggestions on optimizing the query would be helpful
Thanks in advance..