MySQL Forums
Forum List  »  Stored Procedures

Deleting records from cursor inside Stored Procedure.
Posted by: sudeep s
Date: November 08, 2015 11:51PM

I have a cursor which selects records from Table "A" and based on the record fetched, it first updates table "B" and then deletes record from Table "A"(the same table cursor picks the record from) inside one single loop. I wanted to check if this approach is fine . Kindly advice

Options: ReplyQuote


Subject
Views
Written By
Posted
Deleting records from cursor inside Stored Procedure.
2361
November 08, 2015 11:51PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.