Skip to Main Content

SQL & PL/SQL

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!

Deciding between Connect By query and Recursive Subquery Factoring

RanagalNov 23 2018 — edited Jul 14 2022

Hello Experts,

I have this question:

Given the hierarchal data, should I choose the hierarchal query using CONNECT BY or the one that uses Recursive WITH Clauses ?

I mean which one is efficient when table has millions of records ?

I do understand the advantage that Recursive Sub query factoring offers BREADTH FIRST BY and DEPTH FIRST BY to order the data.

Please guide me as to which is more efficient.

Regards,

Ranagal

This post has been answered by mathguy on Nov 25 2018
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 11 2022
Added on Nov 23 2018
18 comments
6,174 views