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!

insert select vs bulk collect

Uday_NSep 10 2014 — edited Sep 10 2014

Hi All,

           I need a  suggestion. Suppose we insert records using insert select and the query is ' insert  into select * from ( inner query with so many left joins with 5 tables and  than in where clause  ( inner query with case,sum aggregation  kinda logic)) ' ....In these case , do we need to use insert select method or bulk collect. Which is appropriate ? Do we really need to have everything in SQL itself just because we can do it. Why not in PL/SQL . I knew insert select is better than bulk collect but will it fit in the scenario I mentioned above.

Its Oracle 11G and each tables have 10 million records

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 8 2014
Added on Sep 10 2014
2 comments
980 views