Re: DB_NAME in init.ora
From: John D. White <jdwhite_at_katie.vnet.net>
Date: 1995/11/15
Message-ID: <48cq6s$6g3_at_ralph.vnet.net>#1/1
Date: 1995/11/15
Message-ID: <48cq6s$6g3_at_ralph.vnet.net>#1/1
Paul Collins (76004.2053_at_CompuServe.COM) wrote:
: I think you are asking for trouble changing the DB_Name they way
: you are doing it. The only supported why I know of is to recreate
: your database.
: paul
: --
: Paul Collins
: DBA
: DATASTORM Technologies
Not correct... you can change the db_name as follows:
- alter database backup controlfile to trace; this will produce a script imbeded in the trace file to create the control file for your db.
- edit the trace file to produce an xxx.sql script with the section outlined above.
- change the db name in this script.
- shutdown
- rename ALL copies of the control file to ....old
- change the db_name in the initSID.ora
- run the script from sqldba.... connect internal
- startup
- you be done
Good Luck!
Write if i can help.
-- John D.(JD) White Oracle Client/Server Consultant Inventor of the ATM Whiteline Design, Inc. 7812 Blackwing Ct.Raleigh, NC 27615 USAReceived on Wed Nov 15 1995 - 00:00:00 CET