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: Newbie-Limiting rows returned in query

Re: Newbie-Limiting rows returned in query

From: peter <wu0020_at_home.com>
Date: Sat, 18 Dec 1999 04:13:51 GMT
Message-ID: <3SD64.6810$ZT5.3415867@news1.rdc1.on.wave.home.com>


Yes , try use rownum keyword.

select * from table where rownum < 10;

John Shaft wrote in message ...
>Does Oracke offer some way to liit the rows returned in a query? For
>instance say I want so select all the rows in a table sorted by name, but
>I only want the first ten names. Can I limit to rows 1-10?
>
>Thanks!
>
>shaft_at_meanmutha.com
>http://www.meanmutha.com
>
Received on Fri Dec 17 1999 - 22:13:51 CST

Original text of this message

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