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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Renaming a Database

Re: Renaming a Database

From: David Novice <dnovice_at_cisco.com>
Date: 1997/10/10
Message-ID: <343E8B9E.331D@cisco.com>#1/1

You can do a
ALTER DATABASE BACKUP CONTROLFILE TO TRACE; then find the trace file in the bdump directory, edit it, so that the CREATE CONTROLFILE statement looks something like  

CREATE CONTROLFILE REUSE SET DATABASE "NEWNAME" RESETLOGS NOARCHIVELOG ...  

Shut the database down normal, back it up. Modify the init.ora db_name=newname
Run the create controlfile script from the bdump directory Then,
ALTER DATABASE RENAME GLOBAL_NAME TO nename.domain; Received on Fri Oct 10 1997 - 00:00:00 CDT

Original text of this message

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