Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to get the number of rows fram a resultset

 
lavanya subramanian
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic