Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> LIMIT number of selected rows

LIMIT number of selected rows

From: Georg Maaß <spam_at_clausmark.com>
Date: Wed, 21 Jan 2004 18:13:26 +0100
Message-ID: <bumbq0$jnu3j$1@ID-3551.news.uni-berlin.de>


Hi,

what is the Oracle SQL syntax to limit the number of rows returned by a select.

MS-SQL supports TOP to do this:

select TOP 1 * from stuff;

But what is the correct syntax for Oracle to get only the first entry?

Greetings, Georg Received on Wed Jan 21 2004 - 11:13:26 CST

Original text of this message

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