Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: CREATE ORDERED TABLE
Sheila Zou wrote:
> sorry,
>
> but this is what i got:
>
> Connected to:
> Oracle8 Enterprise Edition Release 8.0.5.2.0 - Production
> With the Partitioning, Objects and Parallel Server options
> PL/SQL Release 8.0.5.2.0 - Production
>
> SQL> create table test as
> 2 select * from accounts order by acc_id;
> select * from accounts order by acc_id
> *
> ERROR at line 2:
> ORA-00933: SQL command not properly ended
>
> > Sorry, but I did test it..
Oracle 8i supports "INSERT ... SELECT ... ORDER BY ..." Oracle 8 and lower do not support the ORDER BY clause in this case.
--
Erwin Dondorp
<http://www.dondorp.com/>
Received on Thu Dec 16 1999 - 17:09:05 CST