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: Select First 500 Rows of a Table

Re: Select First 500 Rows of a Table

From: Joel Garry <joel-garry_at_home.com>
Date: 18 Aug 2004 14:05:58 -0700
Message-ID: <91884734.0408181305.30398f40@posting.google.com>


melliott42_at_yahoo.com (Michael) wrote in message news:<91721cf.0408171304.50618189_at_posting.google.com>...
> Hello,
>
> In Oracle 8.17 from SQLPLus how can I SELECT the first 500 rows of a
> table? I am versed in creating (filtering out) data using a WHERE
> clause - this is different than that.
>
> I ideally would like to SELECT the first 500 records of a table then
> the NEXT 500 and so forth.
>
> Thanks for your advice,
>
> Michael

set pause on
set pagesize 500

Depending on what exactly you are trying to do.

jg

--
@home.com is bogus.
http://www.signonsandiego.com/uniontrib/20040818/news_1c18scibrief.html
Received on Wed Aug 18 2004 - 16:05:58 CDT

Original text of this message

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