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

fast select of first row on Oracle table...

From: <tim.mcconechy_at_runtime.dk>
Date: Thu, 04 Mar 1999 10:30:12 GMT
Message-ID: <7blnbl$1m0$1@nnrp1.dejanews.com>


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!

Please help...

-----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own Received on Thu Mar 04 1999 - 04:30:12 CST

Original text of this message

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