File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes how to get the number of rows fram a resultset Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "how to get the number of rows fram a resultset" Watch "how to get the number of rows fram a resultset" New topic
Author

how to get the number of rows fram a resultset

lavanya subramanian
Ranch Hand

Joined: Nov 03, 2000
Posts: 52
hi guys,
does anybody know how to get the number of rows fram a resultset without having count variable and incrementing it.

help would be appreciated,
lavanya
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

This is a common question and there is a wealth of knowledge in the JavaRanch search (located just under the 'Post New Topic' button.
I got 34 hits for "count ResultSet"
Dave.
 
wood burning stoves
 
subject: how to get the number of rows fram a resultset
 
Similar Threads
Resultset row count
Can we extract the data from resultset after the connection get closed.
How to find the number of rows in the resultset
How do you know number of rows fetched by ResultSet?.
how to get a number of record from the Resultset