RENAME_DB

This procedure changes the name of the specified protected database in the Recovery Appliance metadata.

Use this procedure when the DB_UNIQUE_NAME for a protected database changes, so that the Recovery Appliance metadata reflects the correct name.

Syntax

PROCEDURE rename_db (
   db_unique_name_old  IN VARCHAR2,
   db_unique_name_new  IN VARCHAR2,
   comments            IN VARCHAR2 DEFAULT NULL);

Parameters

Table 40 RENAME_DB Parameters

Parameter Description
db_unique_name_old The DB_UNIQUE_NAME to change.
db_unique_name_new The new DB_UNIQUE_NAME.
comments Optional user supplied comment describing reason for executing this command.