MySQL Forums
Forum List  »  InnoDB

Re: FETCH Statement
Posted by: Rod Sherer
Date: March 10, 2009 08:52AM

I don't know if there is another method to do this, but you could put a counter in your cursor loop that increments for every row found, and if you never get into the loop, it will show a value of zero, meaning there were no rows returned.

Options: ReplyQuote


Subject
Views
Written By
Posted
4275
February 06, 2009 05:41AM
Re: FETCH Statement
2472
March 10, 2009 08:52AM


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.