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: What's wrong with this statement? (7.3.4.5.0)

Re: What's wrong with this statement? (7.3.4.5.0)

From: Martin Haltmayer <Martin.Haltmayer_at_0800-einwahl.de>
Date: Fri, 11 Feb 2000 20:14:58 +0200
Message-ID: <38A451A2.361F846E@0800-einwahl.de>


Which version of Oracle do you use?

It should work in 8.1.5 and above.

Martin

Not a valid email address wrote:
>
> Any guesses why this statement works:
> SQL> select * from user_extents order by segment_name;
> ...
> 171 rows selected.
> but this fails:
> SQL> select * from (select * from user_extents order by segment_name);
> select * from (select * from user_extents order by segment_name)
> *
> ERROR at line 1:
> ORA-00907: missing right parenthesis
>
> What I really want is
> select * from (select * from user_extents order by segment_name) where
> rownum < 100;
> i.e. the first 99 extents or all the extents sorted by segment_name,
> but it doesn't like that either.
Received on Fri Feb 11 2000 - 12:14:58 CST

Original text of this message

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