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 -> Re: SQL Question : From MS SQL Server to Oracle

Re: SQL Question : From MS SQL Server to Oracle

From: <andrew_at_soft-solutions-inc.com>
Date: Thu, 24 Jun 1999 20:52:13 GMT
Message-ID: <377299e5.87491766@news.ufl.edu>


On Thu, 24 Jun 1999 16:01:38 +0200, "Erwin JASINSKI" <hexalog_at_wanadoo.fr> wrote:

I think you will get what you are looking for with this:

SELECT T1.Col1
FROM Table T1
WHERE ....
      and rownum < 11
ORDER BY T1.Col1;

rownum is a special column that counts the number of rows returned - the above query will give you the first 10 rows of the results set.

Thanks,
Andy Received on Thu Jun 24 1999 - 15:52:13 CDT

Original text of this message

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