Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> something appears to be funny with ROWNUM

something appears to be funny with ROWNUM

From: MaryAnn Atkinson <maryann_30_at_yahoo.com>
Date: Tue, 08 Jul 2003 18:20:54 -0700
Message-ID: <F001.005C3EBE.20030708181424@fatcity.com>

  1. this first query gave me 600 lines of output.

SELECT Rownum, Gender
FROM EMP2
WHERE ROWNUM <= 600;


2. this one right here told me no rows selected...

SELECT Rownum, Gender
FROM EMP2
WHERE ROWNUM BETWEEN 500 and 600;

I dont get it... something is funny with ROWNUM...

Any ideas?
thx
maa



Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com
--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: MaryAnn Atkinson
  INET: [EMAIL PROTECTED]
Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Tue Jul 08 2003 - 20:20:54 CDT

Original text of this message

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