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: "select" simple question?

Re: "select" simple question?

From: Manmohan Mann <m_mann_at_hotmail.com>
Date: 24 Mar 1999 00:45:38 GMT
Message-ID: <36F835FE.174F5B5B@hotmail.com>


Hi,

Don't recall the technical reasons why, but the only way that rownum can be used is with the '<' operator.

So, 'select * from <table name> where rownum < 11' will retrieve the first 10 rows.

Manmohan Mann

Jack Zhu wrote:
>
> How can I use "select" to retrive first 10 rows of a table?
>
> Thanks in advance!
>
> Pls email me!
>
> jackzhu_at_monmouth.com
Received on Tue Mar 23 1999 - 18:45:38 CST

Original text of this message

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