I have written a procedure in which the cursor is fetching 2 lakh records. I would like to pass on these 2 lakh records as an in paramter to the other procedure. How can we achieve this logic?
RE: I have written a procedure in which the cursor is ...
Srinivas !!
You Logic is correct You can have wht ever you want.wht we hve to do is...
Create a ref cursor in a package..Then create an Instance of that cursor in PL/SQL block.then pass that Instance of the cursor as a variable to the procedure.. by specifing the variable type as type of that Instance.. Then its work ...
RE: I have written a procedure in which the cursor is ...
Hi
I would suggest not to pass all the records to you next procedure. You should look to redesign your next procedure so that it accepts one record and process it. This way you can iterate thru records in your main process and call the next process wherever required.