MySQL Forums
Forum List  »  Stored Procedures

how to find the number of rows in a select statement in a stored procedure
Posted by: scott
Date: October 09, 2005 10:12AM

HI,

I am a newbie to mysql in general.

I am a really simple question. How do I find out the number of rows returned by a select statement in mysql stored procedure.

Basically, in the stored prcedure, after issuing a select statement, I want to log an error if there are not rows returned.

thank you

Options: ReplyQuote


Subject
Views
Written By
Posted
how to find the number of rows in a select statement in a stored procedure
13989
October 09, 2005 10:12AM


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.