On Fri, 15 Apr 2005, David Gagnon wrote:
> So did I miss something obvious. Is it possible to get the total number
> of row returned from a query without doing another select.
>
Anytime you've got the results of a query you can loop over it to count
the number of elements. In JDBC with a scrollable ResultSet you may issue
rs.last() and rs.getRow() to get the number of rows. rs.beforeFirst()
will then reset the ResultSet back to its original state.
Kris Jurka