on 10-21-2008 5:10 AM
Hi Experts,
I am trying to insert multiple records in the table of oracle database. I am sending 5000 records per message. I am using a stored procedure to insert the records. I want to make a single call to the stored procedure and insert all the records.
I dont want to call SP for each record.
Please suggest the way to implement this (Using Cursor/Loop) .
Thanks
Ajay
Hi
Use these link to insert multiple record in single call using stored procedure.
http://www.vikramlakhotia.com/Inserting_multiple_records_using_one_stored_procedure.aspx
http://weblogs.sqlteam.com/travisl/archive/2005/01/04/3931.aspx
use this thread
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ajay,
You can use BPM-Collect Payload pattern to implement your scenario.
Collect some 100 messages and then call your SP.This may help you.
thanks
Prabhakar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.