Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Can I change the db name?
Sure.
It changes the global name of the database. The database_name is the new
database name and can be as long as eight bytes. The optional domains
specifies where the database is effectively located in the network
hierarchy. Renaming your database automatically clears all data from the
shared pool in the SGA. However, renaming your database does not change
global references to your database from existing database links, synonyms,
and stored procedures and functions on remote databases. Changing such
references is the responsibility of the administrator of the remote
databases.
<Oracle Doc>
Also you have to change db_name=oracle in init.ora. And you have to recreate controlfile. Attention - dangerous!
Regards,
Mark Malakanov
PS/
I surprised, for what purposes do you need this things?
cantoneseboy <cantoneseboy_at_hotmail.com> wrote in message
news:377F51A0.53276240_at_hotmail.com...
> Hi
>
> I know the same instance name can mount different database by
> editing the
> init<>.ora file. But can I change the db name where the database is
> created
> by the statement:
>
> create database <database name > ............
>
>
> Wayne
>
Received on Sun Jul 04 1999 - 08:42:20 CDT
![]() |
![]() |