MySQL Forums
Forum List  »  Newbie

Controlling the server -> client fetch size
Posted by: Mallard Crowe
Date: February 06, 2005 04:14PM

I see that mysql_use_result() and mysql_store_result() allow you to retrieve results into the client memory space either a single row at a time from the server or the entire result set from the server.

Is there a way to control the fetch size so that, say, I get 100 rows back from the server at a time?

Cursors would probably do the trick, but then you can't build things in 'C'.

Thanks,

Options: ReplyQuote


Subject
Written By
Posted
Controlling the server -> client fetch size
February 06, 2005 04:14PM


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.