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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: How rename a database?

RE: How rename a database?

From: Rajesh Dayal <Rajesh_at_ohitelecom.com>
Date: Sun, 11 Mar 2001 01:46:07 -0800
Message-ID: <F001.002C90CB.20010311012029@fatcity.com>

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).
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Rajesh Dayal
  INET: Rajesh_at_ohitelecom.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). Received on Sun Mar 11 2001 - 03:46:07 CST

Original text of this message

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