Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Reusing Cursor in PL/SQL
I'm trying to come up with a solution that will reuse a cursor. Here's
what I'm trying to accomplish:
I tried to use FOR loops on each but I suspect that when I do the second loop for item_cursor it will bring back no records since the first loop deleted them. Is there a way to store the item_cursor so that the values are not deleted from memory during the delete step? In other words, I need to be able to loop through the records a second time so how can I store them so I can run through the records after deleting the data from the table?
Thanks for your help,
Chris
Received on Tue Jun 22 2004 - 11:23:23 CDT
![]() |
![]() |