Sorry, you must iterate to count. Your alternative is to make two
calls, the first being a select ... COUNT(*), followed by the same
select without the COUNT. See section 7.4.13 of the MySQL manual.
tim.
hello all,
Is there a method that will give me the number of rows in a
result set? From the docs I can only see getColumnCount() in the
ResultSetMetaData class, I need the equivalent for rows.
To unsubscribe, send a message to the address shown in the
List-Unsubscribe header of this message. If you cannot see it,
e-mail java...@lists.mysql.com instead.