aspose 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 Java 8 in Action this week in the Java 8 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to get the number of rows fram a resultset
 
Similar Threads
how to get a number of record from the Resultset
How do you know number of rows fetched by ResultSet?.
Can we extract the data from resultset after the connection get closed.
How to find the number of rows in the resultset
Resultset row count