Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

nice query

makshiJun 12 2013 — edited Jun 12 2013

select level lvl,lpad(' ',5*(level-1)) || to_char(a.childcd) cd,             lpad(' ',5*(level-1))||a.childnm nm from tabname a start with a.childnm = :child connect by prior a.childcd=a.parentcd;

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 10 2013
Added on Jun 12 2013
1 comment
149 views