• Post Reply Bookmark Topic Watch Topic
  • New Topic

Refresh Cursor in Stored proc Oracle

 
fahad siddiqui
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a stored procedure in which i define a cursor in the start like so:


After this, i iterate the loop and upon some conditions, i change the ACTIVE_STATUS and ERROR_FLAG to different values. Upon such an updation, that record should get erased from my cursor.
Hence, after the loop completes, i want to refresh my cursor, so that all such records which i updated during the loop, should now not be present in the cursor anymore.

Please advise urgently. I am using Oracle 8i.
Thanks in advance.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!