Find number of rows in a preapred statement result set
Posted by: Douglas Duvall
Date: June 29, 2011 11:24AM

Is there any way to find if a result set returned any rows, or just 0 rows from a prepared statement, NOT using mysql_stmt_store_result? ALSO, I DO NOT want to use mysql_stmt_fetch, which would return an error if there are no rows. For the application I'm writing, if I do use mysql_stmt_fetch, and there are rows, then I have to "reset" the prepared statement so I points to the first row again.

Doug

Options: ReplyQuote


Subject
Views
Written By
Posted
Find number of rows in a preapred statement result set
1049
June 29, 2011 11:24AM


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.