aspose file tools*
The moose likes JDBC and the fly likes Retrieving no of rows from ResultSet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Retrieving no of rows from ResultSet" Watch "Retrieving no of rows from ResultSet" New topic

Retrieving no of rows from ResultSet

Imad Uddin Chishti

Joined: Oct 13, 2002
Posts: 15
Can someone tell me how to retrieve no of rows in a ResultSet using either ResultSet object or ResultSetMetaData.
Imad Uddin Chishti

Imad Uddin Chishti<br />Sun Certified JAVA Programmer platform 2<br />Senior Consultant<br />BearingPoint Pakistan
Kyle Brown
Ranch Hand

Joined: Aug 10, 2001
Posts: 3879
This belongs in the JDBC forum. I'm moving it there.

Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at for other WebSphere information.
I agree. Here's the link:
subject: Retrieving no of rows from ResultSet
Similar Threads
efficient way to update data
The ResultSet
Resultset row count
limit result through JDBC