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: Extracting a piece of a cursor

Re: Extracting a piece of a cursor

From: Scott Mattes <Scott_at_TheMattesFamily.ws>
Date: Tue, 04 Mar 2003 17:00:37 GMT
Message-ID: <VY49a.2880$J51.282321@news1.news.adelphia.net>


Maybe something like

select *
from ( select rownum row, table.*

             from table ) a.
where a.row between 1000 and 1100;

"Francesco M." <fmarchioniNIENTESPAM_at_libero.it> wrote in message news:UK49a.176847$ZE.5303458_at_twister2.libero.it...
> Hi all Oracle Users,
> I need to write a Stored Procedure that extract
> a "piece" of a large resultset. Let's say I want to retrieve
> from record n. 1000 to record n. 1100 of a Table. What's the
> best way (for performance and less impact on the db)
> to do it in PL/SQL ?
> Thanks
> Francesco
>
>
>
Received on Tue Mar 04 2003 - 11:00:37 CST

Original text of this message

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