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: fast select of first row on Oracle table...

Re: fast select of first row on Oracle table...

From: Matthias Gresz <GreMa_at_t-online.de>
Date: Thu, 04 Mar 1999 16:27:35 +0100
Message-ID: <36DEA667.828418B6@t-online.de>

tim.mcconechy_at_runtime.dk schrieb:
>
> How can I select the first row in a table...
> I thought of doing.
> select * from dbstruct where recno=(select min(recno) from dbstruct)
> but this invlove table scanning which shouln't be necessary...
>
> I just want the first row...Fast!
>

You ought to specify what you mean with first row:

Matthias
--
grema_at_t-online.de

Protect privacy, boycott Intel: http://www.bigbrotherinside.org Received on Thu Mar 04 1999 - 09:27:35 CST

Original text of this message

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