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: creating a table from a table onto a non default tablespace

Re: creating a table from a table onto a non default tablespace

From: Sybrand Bakker <postmaster_at_sybrandb.demon.nl>
Date: Tue, 10 Aug 1999 19:15:52 +0200
Message-ID: <934305362.14489.0.pluto.d4ee154e@news.demon.nl>


Hi Paul,

create table table1
TABLESPACE xyz
as select etc...

I agree you need to read the syntax diagram very carefully to know this is possible.
Hth,

Sybrand Bakker, Oracle DBA

paul <paul_at_www.internection.com> wrote in message news:k83dxr7etm.fsf_at_www.internection.com...
> Hi,
>
> I'm trying to find how to create a table from a table on a non default
> tablespace. Is this possible?
>
> For instance I can do:
>
> create table table1 (
> a number(1)
> ) tablespace tablespace1;
>
>
> and I can do
>
> create table table1 as select a from table2;
>
> but I can't figure out how to combine these two..
> I'm trying
>
> create table table1
> as select a from table2 tablespace tablespace1
>
> and I'm getting "SQL command not properly ended."
> Any suggestions?
>
> Thanks!
>
> paul
Received on Tue Aug 10 1999 - 12:15:52 CDT

Original text of this message

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