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 -> PUBLIC:Re: Top 10

PUBLIC:Re: Top 10

From: Eugen Nyffeler <eugen.nyffeler_at_ubs.com>
Date: 1997/12/29
Message-ID: <34A7675A.D5AC92F9@ubs.com>#1/1

rsenn wrote:
>
> While browsing through some Microsoft stuff the other day I ran across a
> SQL line that suggested one can SELECT TOP 10 or SELECT TOP 10% (or
> other number). I'm not aware of equivalent features for use in
> Oracle. Are there?

Try:

Select *
from xyz
where rownum <= 10

and you get the first 10 rows of the select result

rgds
eugen Received on Mon Dec 29 1997 - 00:00:00 CST

Original text of this message

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