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

Home -> Community -> Usenet -> c.d.o.tools -> Re: begginer - select first X records

Re: begginer - select first X records

From: Damir Mazar <dmazar_at_interactive1.hr>
Date: Tue, 6 Feb 2001 17:51:24 +0100
Message-ID: <95p9ub$6pp$1@sunce.iskon.hr>

Hm! it seems that this will work, but does not on my Oracle (8.0.5.0.0)- does not allow me to put order by in subselect. Is this problem with old version or ...

Thanks in advance again,
Damir.

"Damir Mazar" <dmazar_at_interactive1.hr> wrote in message news:95p8od$66c$1_at_sunce.iskon.hr...
> > Select * from (select * from files order by f_date desc)
> > where rownum < 11;
>
> It seems that this does what I asked for in question. Thanks for being
> patient and answering to this. I will search through previous posts for
> answer in future.
>
> Damir.
>
> >
> >
> >
> > "ONASSIS" <nfrank_at_interactive1.hr> wrote:
> >
> > >If somebody can help me with this trivial task:
> > >- How to select only first X records in Oracle? Something like
> > >
> > >select * from files order by f_date desc RECORDS(1, 10)
> > >
> > >Thanks in advance,
> > >Damir (from Neven's account this time 8-)).
> > >
> > >
> > >
> >
>
>
Received on Tue Feb 06 2001 - 10:51:24 CST

Original text of this message

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