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: TurkBear <noone_at_nowhere.com>
Date: Tue, 06 Feb 2001 11:44:59 -0600
Message-ID: <cvd08tchjvpp1s1vs93km6mcpa76rslvjk@4ax.com>

Yes, it is for 8.1.x only..

Sorry...

"Damir Mazar" <dmazar_at_interactive1.hr> wrote:

>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 - 11:44:59 CST

Original text of this message

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