Hi ,

may be this?
                      Statement stmt = conn.createStatement ();
                  ResultSet dataResultSet= stmt.executeQuery (aquery);


                   int size = 0;
                while (dataResultSet.next())
                        {
                                                 //dataResulSet.getsomething
                                                size++;
                        }
                          do something whith size










On Wed, 09 Aug 2000, you wrote:
> What function give us the number of records retrieved by a query?
> I'm using JDBC.
>
>
>
> Regards,
> ----------------------------------------------------------------------------
> -------------------------------
> Compta - Equipamentos e Servi�os de inform�tica, S.A
>
> S�lvia Gaspar
> Engenharia de Sistemas e Aplica��es
> Implementa��o
> Consultora  S�nior
> *  TEL: +351.21. 350 14 00
> *  Directo:     +351.21. 313 55 51
> *    Fax:       +351.21.352 02 02
> * e-mail:    [EMAIL PROTECTED]
> * WWW:      www.compta.pt
>
> ___________________________________________________________________________
> 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

Reply via email to