Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Move datafiles...
mquesada_at_renault.com.ar heeft geschreven in bericht <nnrp1.dejanews.com>...
>Hi: Im running 7.3.4 on HP UX-10 and i need to move one datafile from a
>tablespace to another one.. Is it possible??, How i can do it??
>Thanks in advance
>Marcelo Quesada
>mquesada_at_renault.com.ar
Hello Marcelo,
NO, from one tablespace to another one is impossible.
You can only rename or move datafiles from disk to disk:
sql> alter tablespace [TABLESPACE_NAME] OFFline ; cp [file_name] [new file_name]
sql> alter tablespace [TABLESPACE_NAME] rename datafile [file_name] to [new file_name] sql> alter tablespace [TABLESPACE_NAME] ONline ;
good luck, Roelof