Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> How to obtain HIT COUNT together with query results?

How to obtain HIT COUNT together with query results?

From: Bogdan Stepien <stepien_at_tpg.pl>
Date: Thu, 22 Apr 1999 10:15:39 GMT
Message-ID: <01be8ca8$eec07fe0$3605a8c0@hypno>

I need to obtain a number of rows affected by the query and the query results in one step. Right now I am executing two queries:

Regards,
Bogdan Stepien
mailto:stepien_at_tpg.pl

PS. The queries are executed via JDBC, I used to scroll the result set to the end to find out how many rows returned the executed query. This turned out to be very fast on small result sets (up to few hunderds of rows), but recently the database has been enlarged to over 1GB... Received on Thu Apr 22 1999 - 05:15:39 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US