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: Get the following error when renaming datafiles from inside a sql script

Re: Get the following error when renaming datafiles from inside a sql script

From: Brian Peasland <dba_at_remove_spam.peasland.com>
Date: Fri, 15 Aug 2003 20:08:15 GMT
Message-ID: <3F3D3DAF.4F7CE3A0@remove_spam.peasland.com>


> PROMPT Taking tablepsace offline...
>
> PROMPT Copying datafile to new location...

Where is the command to take the tablespace offline? It was missing from the script you posted. The database never took the tablespace offline therefore you can't rename a file if the database thinks that the tablespace's datafile is active. That is what the error messages are telling you. Move the datafile back, apply recovery, and try again.

HTH,
Brian

-- 
===================================================================

Brian Peasland
dba_at_remove_spam.peasland.com

Remove the "remove_spam." from the email address to email me.


"I can give it to you cheap, quick, and good. Now pick two out of
 the three"
Received on Fri Aug 15 2003 - 15:08:15 CDT

Original text of this message

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