aspose file tools*
The moose likes JDBC and the fly likes How come I know number of rows in a Result Set ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "How come I know number of rows in a Result Set ?" Watch "How come I know number of rows in a Result Set ?" New topic
Author

How come I know number of rows in a Result Set ?

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
How come I do know number of rows in a Result Set after you execute ,
stmt.executeQuery(query);
Anyone has an idea over it ?
from,
vikram.
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
This topic has been covered several times. Do a search in this forum.


Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
"Vikram D",
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp .
We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please choose a new name which meets the requirements.
Thanks.

Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: How come I know number of rows in a Result Set ?