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: ROWNUM - Questions

Re: ROWNUM - Questions

From: David Fitzjarrell <oratune_at_aol.com>
Date: Tue, 19 Dec 2000 16:14:29 GMT
Message-ID: <91o1gr$14p$1@nnrp1.deja.com>

In our last gripping episode "Nicolas Bronke" <newsgroup_at_trinity.de> wrote:
> ROWNUM is nice, but for my appl. the pity is that ROWNUM is
 independet to a
> ORDER by. That mean
>
> select rownum,columnname from tablename
> and
> select rownum,columnname from tablename order by columnname
>
> brings not the rownumbering I am looking for.
>
> I need a rownumbering which is independent from the ordering.
>
> Any suggestions?
>
> Thanks
>
> Nicolas
>
>

I believe that unless you upgrade to 8i you'll not find a suitable solution to your problem. Essentially yours is a 'top-N' type of query and 8i does support 'top-N' constructs where earlier versions of 8 do not.

--
David Fitzjarrell
Oracle Certified DBA


Sent via Deja.com
http://www.deja.com/
Received on Tue Dec 19 2000 - 10:14:29 CST

Original text of this message

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