Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> Re: way to move a table to a new tablespace?

Re: way to move a table to a new tablespace?

From: Connor McDonald <connor_mcdonald_at_yahoo.com>
Date: 2000/08/03
Message-ID: <398943C0.432D@yahoo.com>#1/1

Ian Warshak wrote:
>
> this sounds simple, but i have looked everywhere and cant figure out how to
> move a table to a new tablespace. i'd appreciate some advice if you all dont
> mind..
>
> also - i have used mysql and there is a command to change databases, which i
> think is roughly equivalent to changin tablespaces. is there a way that i
> can effectively change my current tablespace to a different to so i can work
> on some different tables without having to reference them by
> tablespace.table? (say for example i have tables in 2 tablespaces)
>
> thanks again
> ian

alter table XXX move tablespace NEW_TS;

(available from 8i onwards)

before that, its export/import time or equivalent.

HTH

-- 
===========================================
Connor McDonald
http://www.oracledba.co.uk

We are born naked, wet and hungry...then things get worse
Received on Thu Aug 03 2000 - 00:00:00 CDT

Original text of this message

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