MySQL Forums
Forum List  »  Connector/C++

Re: Extracting results from SELECT count(*) query
Posted by: Ulf Wendel
Date: August 28, 2009 12:22PM

Please check the examples. You need to move the cursor of the resultset to the first record before you can fetch the result. Result column indexing starts at 1.

You can find examples either in the source distribution in the examples/ directory or in some articles from the MySQL Developer Zone, located at

Some links:
(... what's missing is in examples/*.cpp in the source distribution ...)


Options: ReplyQuote

Written By
Re: Extracting results from SELECT count(*) query
August 28, 2009 12:22PM

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.