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 -> Better way to select a block of rows

Better way to select a block of rows

From: Sbaiz <pierluigi.sbaiz_at_elsag.it>
Date: Tue, 22 Jun 1999 14:18:28 +0200
Message-ID: <7knuv2$9dn$1@e3k.asi.ansaldo.it>


Hi anybody,

I want to read the rows inside a generic table T between j and k (with j<k).
For this operation I'm using the select statement:

SELECT * FROM T WHERE rownum <=k
MINUS
SELECT * FROM T WHERE rownum <=j;

My question is: there is a faster way to perform this operation?

Thanks in advance
SbaizP. Received on Tue Jun 22 1999 - 07:18:28 CDT

Original text of this message

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