| ref cursor with oracle procedure [message #574148] |
Mon, 07 January 2013 07:28  |
 |
rajmighty972
Messages: 11 Registered: December 2012
|
Junior Member |
|
|
Hi I have a procedure where my end result will give like
INSERT INTO ABC(A,B,C,D,ID) SELECT 1,2,3,4,P_ID FROM BBC WHERE P_ID=300;
this is a bulk insert where having 30 records.if one record fail then nothing will be commited.
error willbe moved into my error log table.
I want the insert statement to be record by record and commit the successful one and move the error into error log table.
is there any possibilt of using ref cursor with it.
|
|
|
|
|
|
|
|