MySQL Forums
Forum List  »  Stored Procedures

Re: ROW_COUNT() results in NULL from stored procedure
Posted by: Peter Brawley
Date: May 19, 2016 10:17AM

> 0 is always returned for the rows affected

First you said Null was returned. Which is not a documented possibility. Now you say it returns 0, which it does because the Drop statement erases such information. Move the row_count() call to before the Drop command.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: ROW_COUNT() results in NULL from stored procedure
1025
May 19, 2016 10:17AM


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.