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: How to select a range of records by rownum?

Re: How to select a range of records by rownum?

From: Steve Mitchell <steve_at_mitchells.demon.co.uk>
Date: 1997/03/24
Message-ID: <33366C37.7623@mitchells.demon.co.uk>#1/1

Your query

> "select rownum, user, email from clients where rownum >= 40" failed

will never return any rows. Think about it, the first record returned will have
rownum = 1 which is not greater than 40 so is discarded. The next record returned will
still have rownum = 1 and again will be discarded and so on.

Steve Received on Mon Mar 24 1997 - 00:00:00 CST

Original text of this message

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