MySQL Forums
Forum List  »  Stored Procedures

Re: How to handle 2 cursors in a Mysql procedure
Posted by: Rick James
Date: January 07, 2016 10:58PM

Most of the time, a CURSOR can be replaced by a single SQL statement that does all the work at once. After all, SQL is designed to be "set" oriented, not "procedural".

If you would like more help, please provide the text of your attempted SP.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: How to handle 2 cursors in a Mysql procedure
822
January 07, 2016 10:58PM


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.