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 -> Re: Limit a query

Re: Limit a query

From: Jim Kennedy <kennedy-family_at_attbi.com>
Date: Wed, 14 Aug 2002 15:08:08 GMT
Message-ID: <snu69.13758$983.19669@rwcrnsc53>


Just only retrieve what rows you want. Oracle does not get the entire result set it gets the result set as you ask for it. Jim
"watscheck" <watscheck_at_yahoo.de> wrote in message news:679d8c30.0208140219.79dc9aac_at_posting.google.com...
> Hello,
>
> I want to know if there is a way to limit the actual query, so that
> oracle stops to go on searching for further records.
>
> I know that there is a way to reduce the ResultSet by adding < ROWNUM
> or using setMaxRows (in JDBC) but this wont reduce the work of the
> dbms.
>
> Thank you,
>
> watscheck.
Received on Wed Aug 14 2002 - 10:08:08 CDT

Original text of this message

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