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

Home -> Community -> Usenet -> c.d.o.server -> Re: Change the DB_NAME How to ?

Re: Change the DB_NAME How to ?

From: Rich Woods <rawoods_at_concentric.net>
Date: 1997/08/15
Message-ID: <33F44D21.16EE02F7@concentric.net>#1/1

Erik Oosterling wrote:

> Hello all,
>
> I made a small mistake and dropped all my news groups. So here we are
> again.
>
> Is there a way to change the database name used in the INIT.ORA
>
> now it is:
>
> DB_NAME = ORACLE
>
> But i want to use
>
> DB_NAME = TEST or
> DB_NAME = PROD
>
> Okay i know you have to the db a name when you create him but it was
> not job to create them but it is my job to support them.
>
> PLEASE HELP
>
> Erik Oosterling
>
> The Netherlands

  alter database rename global_name to <newdbname>.<domain>;

--
Rich Woods
Technical Field Support Specialist, Oracle Corporation, USA
The above statements and opinions are my own and do not
necessarily represent those of Oracle Corporation.
Received on Fri Aug 15 1997 - 00:00:00 CDT

Original text of this message

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