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 -> Cap rows returned

Cap rows returned

From: Gabriel Millerd <millerd_at_ns1.rli-net.net>
Date: 11 Jul 2001 21:27:47 GMT
Message-ID: <9iigcj$i9g$1@news.powerisp.com>

how do i just grab the top 10 rows of this query? a few million records returned to just grab the first few is slow and wasteful across the board.

select
  sic_opt_ains.code
from
  plink.sic_opt_ains,
  plink.sic2sic
where
  sic2sic.child=sic_opt_ains.code
order by
  sic_opt_ains.ains desc Received on Wed Jul 11 2001 - 16:27:47 CDT

Original text of this message

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