Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: How rename a database?
Hi,
You need to replace the keyword REUSE with SET i.e.
CREATE CONTROLFILE REUSE DATABASE "OHIR1" NORESETLOGS NOARCHIVELOG should be
CREATE CONTROLFILE SET DATABASE "OHIR2" NORESETLOGS NOARCHIVELOG
HTH,
Rajesh
-----Original Message-----
Milliken
Sent: Saturday, March 10, 2001 10:15 PM
To: Multiple recipients of list ORACLE-L
What are the steps for renaming a database? I took the trace file and created a sql script to create a new controlfile. In the sql script for creating the controlfile I changed the database name. However when I try the script the error message is that the info in the header files do not match. What am I missing in this procedure?
Oracle 8.0.6 on NT.
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Connie Milliken
INET: cemail_at_sprintmail.com
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: ListGuru_at_fatcity.com (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).
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: ListGuru_at_fatcity.com (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). Received on Sun Mar 11 2001 - 03:46:07 CST
![]() |
![]() |