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

Home -> Community -> Usenet -> c.d.o.misc -> Re: RowCount (does this exist)

Re: RowCount (does this exist)

From: Mark Gumbs <mgumbs_at_nospam.hotmail.com>
Date: Wed, 2 Jun 1999 09:01:42 +0100
Message-ID: <3754e2a0.0@145.227.194.253>


E.G

Select empno, ename from emp
where rownum <= 10;

This limits your output to the 'first' 10 items. Depending on the complexity of your query, it may not behave as expected though.

M

rtm wrote in message <7j2mvt$9tt$1_at_s3000-01.magna.com.au>...
>Does Oracle have a rowcount variable that can be set (like Sql Server) so
>that you can limit the total number of rows returned by a query. Have a
>v.large table that users can build their own queries against via
>application... but if they screw it up then don't want 10's of 1000's of
>rows returned...
>
>any help greatly appreciated..
>
>(wheres the FAQ?)
>
>rtm
>
>
Received on Wed Jun 02 1999 - 03:01:42 CDT

Original text of this message

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