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: Question: Finding the nth row in a table

Re: Question: Finding the nth row in a table

From: Heber Ferraz-Leite <hferraz_at_via.at>
Date: 1997/11/26
Message-ID: <347c0888.853136@news.via.at>#1/1

On Tue, 25 Nov 1997 13:22:18 -0800, "David Russell" <user_at_msn.com> wrote:

>I am afraid that this is not strictly true, ROWNUM is caculated from the
>row source, before any sorting occurs. This means if you use ROWNUM in
>queries that perform sorts the results will be inconsistent.

I had written the follwing:

>> select whatever from atable where rownum=n oder by whatever;

As others have already stated I made a wrong statement. The above select won't work. It would have been nice, but ...

Sorry for the mistake. I was too quick to answer and should have thought before. :-(

Heber

---
hferraz_at_via.at
Received on Wed Nov 26 1997 - 00:00:00 CST

Original text of this message

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