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: Michael <melliott42_at_yahoo.com>
Date: 18 Aug 2004 03:30:15 -0700
Message-ID: <91721cf.0408180230.570e49fe@posting.google.com>


Hello all,

Thanks for responding.

It seems Oracle keeps track of records\rows internally using ROWNUM. So for all those in a simliar situation try something like this:

SELECT * FROM mytable WHERE rownum <= 500

-Michael Received on Wed Aug 18 2004 - 05:30:15 CDT

Original text of this message

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