Re: Setting number of row returned
From: Thomas Mettling <thomas_at_joyofsocks.com>
Date: Fri, 05 Jun 1998 15:38:42 -0400
Message-ID: <35784941.343E5683_at_volpe.dot.gov>
Date: Fri, 05 Jun 1998 15:38:42 -0400
Message-ID: <35784941.343E5683_at_volpe.dot.gov>
Andy,
Use rownum, ie "select x from foo where rownum < 5"
-- Tom Mettling WT Chen & Company, Inc. mettling_at_volpe.dot.gov Andy Hering wrote:Received on Fri Jun 05 1998 - 21:38:42 CEST
> Hi,
>
> I'm looking for a way to set the number of row returned in a query
> using SQL*PLUS. I know Sybase uses ROWCOUNT to do this, but is there a
> similar feature in Oracle. I haven't found anything in the
> documentation available to me.
>
> Thanks!
> Andy