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: Step in an ordered list of rows

Re: Step in an ordered list of rows

From: Dave Mausner <dmausner_at_brauntech.com>
Date: 1996/11/15
Message-ID: <56gocp$4lg@client2.news.psi.net>#1/1

In article <32882cfe.2648077_at_news.via.at>,

   dtr_at_leadingbits.via.at (Dieter Oberkofler) wrote:
>Who can tell me how to code a fast and reliable SQL Statement to
>return the next X or previous X (X >= 1) no of rows when a given row
>is known and an order by clause is used. Also assume that the the
>column(s) you use in the order by clause are not unique in the table
>and that you can't use any optimizer hints.

the fastest solution is to fetch the entire result set and store it in a file or in memory, then load the widget from that. obviously you will need a practical upper limit on the row count.

--
Dave Mausner, Consulting Manager, Braun Technology Group, Chicago.
Received on Fri Nov 15 1996 - 00:00:00 CST

Original text of this message

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