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: Unexpected result from simple query

Re: Unexpected result from simple query

From: Billy Verreynne <vslabs_at_onwe.co.za>
Date: 11 Dec 2003 21:14:12 -0800
Message-ID: <1a75df45.0312112114.4326bf8d@posting.google.com>


"Can" <no_at_spam.net> wrote in

> To my astonishment, the following query doesn't limit the resultset as
> desired:
>
> SELECT columnA, columnB, RN
> FROM (
> SELECT columnA, columnB, ROWNUM RN
> FROM mytable
> )
> WHERE RN BETWEEN 4 AND 12;
>
> If I'm not completely mistaken this used to work.

Yeah, but it does not work in Oracle 6 on a cluster of ZX Spectrums.

--
Billy
PS. In case you don't get - Oracle version and platform are two
critical pieces of data that *always* must accompany a question like
yours.
Received on Thu Dec 11 2003 - 23:14:12 CST

Original text of this message

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