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

Home -> Community -> Usenet -> c.d.o.server -> Re: Limiting Large Result Sets

Re: Limiting Large Result Sets

From: <xhoster_at_gmail.com>
Date: 29 Aug 2006 23:41:47 GMT
Message-ID: <20060829194231.301$Fl@newsreader.com>


smartnhandsome_at_gmail.com wrote:
> Hi,
>
> I would be glad if someone could provide solution for this problem.
>
> working ENV:
> Jdeveloper 10.1.3 - Development
> Oracle 9i - Database
> Windows XP - OS
>
> I want to retrieve about 30 rows at a time . The table contains over 2
> million rows. I would like to begin at the first row and drag 30 rows
> over the network. Then get the next 30 and repeat the process untill
> all rows are displayed.

Generally you don't need to do anything special to accomplish this. You can just "fetch" a row at a time, and behind the scenes the OCI library (or whatever it is that ends up doing the low-level calls) will pre-fetch 30 or 100 or whatever, and transparently cache them locally for you.

Xho

-- 
-------------------- http://NewsReader.Com/ --------------------
Usenet Newsgroup Service                        $9.95/Month 30GB
Received on Tue Aug 29 2006 - 18:41:47 CDT

Original text of this message

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