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!

inserting in batches

820272Dec 8 2010 — edited Dec 16 2010
Dear Friends,

I have a table with 2 columns,column names being OLD_CUST and NEW_CUST.
Since the number of records to be inserted is huge I need to insert records in batches of 1000 or 10000 into the table so that the database itself does not collapse .
So I will send a datatable from my .NET application of 1000 or 10000 records.
I need a stored procedure which will accept the datatable and will have a cursor which will loop thru' each record and insert it into the Oracle table.
I need help with this proc.
It will be great if some one could post such a working Pl/SQL code.

Thanks for your efforts.
This post has been answered by Etbin on Dec 14 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 13 2011
Added on Dec 8 2010
44 comments
1,752 views