I saw a post on MetaLink (Note 15390.1) about changing db_name and
oracle_sid without recreating the db's.

my question is if I want to change the db_name, do I first need to change
the SID?  Or can I do it in one fell swoop, as follows:

backup controlfile to trace
edit file to create new controlfile using "set database <newdbname>"
rename init<sid>.ora with new sid
edit init.ora file with new controlfile names and new sid, db_name, etc.
create new password file

startup db with ORACLE_SID env variable set to new sid
create new controlfile 

...also

can I rename datafiles and logfiles in the process by putting their new
names in the create controlfile script?

thanks


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Magaliff, Bill
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to