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: Copy or move a talble

Re: Copy or move a talble

From: MotoX <noone_at_nowhere.com>
Date: Thu, 17 Dec 1998 20:43:24 GMT
Message-ID: <36796c98.606184@news.demon.co.uk>


Alternatively, Just use CREATE TABLE AS SELECT syntax. You'll have to do a RENAME in there as well. And don't forget to move you indexes over and check privileges, etc.

MotoX.

On Thu, 17 Dec 1998 16:29:08 -0000, "Vinay Joshi" <vjoshi_at_pinnacle.co.uk> wrote:

>Hi,
>You can use the exp / imp facility to export and import a table.
>eg.
>exp user/pwd buffer=1024000 file=mytable.dmp log=mytable.log \
> tables=mytable
>
>Once the dmp file is created, drop the table and recreate it in a new
>tablespace and use IMP to import it.
>
>imp user/pwd buffer=1024000 commit=y ignore=y file=mytable.dmp \
>log=mytable.log full=Y
>
>PS:
>experiment with a test table before using the above on a production table.
>
>
>G. Kakisina wrote in message <75b9aa$pms$1_at_freyja.bart.nl>...
>>Hello,
>>
>>How can i copy or move a table from one tablespace to another?
>>
>>G. Kakisina
>>
>>
>
Received on Thu Dec 17 1998 - 14:43:24 CST

Original text of this message

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