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: Login.sql and global name value

Re: Login.sql and global name value

From: S. Anthony Sequeira <Sequeira_at_lineone.net>
Date: Wed, 31 May 2000 19:19:29 +0100
Message-Id: <10514.107344@fatcity.com>

> In our clone process, after we have used svrmgrl to create the control
file
> and have altered the database open, we "Select * from v$database" to
make
> sure we didn't screw up the sid for this instance. Then we "select *
from
> global_name". This shows the name of the db from which we cloned. We
then
> "alter database rename global_name to <your name here>" to correct the
> global name. In our case it is: "alter database rename global_name to
> bogus.world.com" where "bogus" is the sid name.
> So far, this has not caused us any harm.
>
> HTH
>
> Mark Willett
> Database Administrator
> Sunnen Products Company

[large snip]

You can also change the db_name in the control file recreate using 'SET DATABASE <db_name>'.

Regards.

Tony

--
S. Anthony Sequeira

Wait for the ricochet

Opinions expressed herein are my own and do
not necessarily represent those of my employer
Received on Wed May 31 2000 - 13:19:29 CDT

Original text of this message

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