TCLUG Development Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Number of rows in a result set?



How do I get the number of rows in a JDBC ResultSet when using MySQL for the
database?

I know the C API has a function call mysql_num_row(), but I cannot find the
equivalent to it in the JDBC calls.

-- 
Bob Tanner <tanner@real-time.com>       | Phone : (612)943-8700
http://www.mn-linux.org                 | Fax   : (612)943-8500
Key fingerprint =  6C E9 51 4F D5 3E 4C 66 62 A9 10 E5 35 85 39 D9