Changing the global name of a database
To change the global name of a database, use the Amazon RDS procedure
rdsadmin.rdsadmin_util.rename_global_name
. The
rename_global_name
procedure has the following parameters.
Parameter name | Data type | Default | Required | Description |
---|---|---|---|---|
|
varchar2 |
— |
Yes |
The new global name for the database. |
The database must be open for the name change to occur. For more information about
changing the global name of a database, see ALTER DATABASE
The following example changes the global name of a database to
new_global_name
.
EXEC rdsadmin.rdsadmin_util.rename_global_name(p_new_global_name => '
new_global_name
');