Changing the global name of a database - Amazon Relational Database Service
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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

p_new_global_name

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 in the Oracle documentation.

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');