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 multiple rows using Cursors.

722332May 3 2010 — edited May 3 2010
I am trying to insert rows into a table based on information from another table.

For example:

When Table 1: Num_Rows = 100 my proc will insert 100 rows into Table 2 with relevent data.

Do I need to use a Cursor and iterate through Num_Rows doing an INSERT each time? Is there a better way to do it other than using Cursors?



Rob.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 31 2010
Added on May 3 2010
7 comments
6,791 views