Hi Jimmi,
U can use resultset.getFetchSize(). Just see that u'r Driver supports
it.
Abhay
----- Original Message -----
From: Jimmy Kurian <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 20, 2000 8:35 AM
Subject: Result Set
> Hi,
> Is there any function to know how many rows are there in a Resultset ?
> ie I want to know how many rows I got in a resultset when I executed a
> "Select" statement. ( I don't want to do another "Select count(*) ..."
> statement because I'm making another access to the database)
> Thanks in advance
> Jimmy
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html