>Use a database specific feature such as Oracle's COUNT

    The COUNT() column function, SELECT COUNT(*) FROM... is standard SQL.

    If one is fortunate enough to have a JDBC 2.0 driver ( can you say
AS.400? ) one can also use

    resultset.last();
    int rownumber = resultset.getRow();



                                                Joe Sam Shirah
                                                Autumn Software

___________________________________________________________________________
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