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: HELP !!!!!

Re: HELP !!!!!

From: Michael Zhang <zhangliuqing_at_hotmail.com>
Date: Sun, 4 Jul 1999 19:36:06 -0400
Message-ID: <SdSf3.753$u3.197190144@momma.bigmomma.com>


For simple SQL, you can use
select * from tab
where rownum <= 100.
But you can't use order by or group by, because Oracle first fetch those 100 rows and then do order by or group by, which may not be what you really need.

Regrads.

Michael Zhang

Laurent TESTA <laurent.testa_at_wanadoo.fr> wrote in message news:7lo9uh$di9$1_at_wanadoo.fr...
> Hello ,
> I want the 100 first record of a SQL request with Oracle 8.0.5 with VB5
W95
> TOP don't work ! with clause where and group by
> How can i do ????
> Thanks for your answer...
> Laurent
>
> laurent.testa_at_wanadoo.fr
>
>
>
>
>
>
Received on Sun Jul 04 1999 - 18:36:06 CDT

Original text of this message

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