Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: how to move a schema to another tablespace...
Yes
Connected to:
Oracle8i Release 8.1.7.0.0 - Production
JServer Release 8.1.7.0.0 - Production
SQL> create table nltest(col1 varchar2(30)
2 )
3 tablespace system;
Table created.
SQL> oops
SP2-0042: unknown command "oops" - rest of line ignored.
SQL> alter table nltest move tablespace users;
Table altered.
SQL> select tablespace_name from user_tables where table_name = 'NLTEST';
TABLESPACE_NAME
NB indexes will need to be rebuilt as well.
-- Niall Litchfield Oracle DBA Audit Commission UK ***************************************** Please include version and platform and SQL where applicable It makes life easier and increases the likelihood of a good answer ****************************************** "S-marty" <monkey_at_ludo.aa> wrote in message news:9vcjtf$sgm4_at_ns4.bih.net.ba...Received on Fri Dec 14 2001 - 05:14:29 CST
> Niall Litchfield wrote in message
> <3c187c2a$0$8510$ed9e5944_at_reading.news.pipex.net>...
> >Alternatively you
> >could use alter table blah move tablespace x in 8i and above.
> >
> Are you sure about this?
> > >
![]() |
![]() |