It's not a secret anymore!
The moose likes JDBC and Relational Databases 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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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: 3892
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
jQuery in Action, 3rd edition