advertisements
_____________________________________________________________________________________________________________________
Requirement is rename the database name from SOURCE to TARGET
Steps:
- Create the initTARGET.ora file with necessary parameters. Db_name parameter value must be TARGET.
- Shutdown the SOURCE database
export ORACLE_SID=SOURCE
SQL> shutdown immediate;
- Startup mount the TARGET database using initTARGET.ora parameter file.
- Run the nid command in the command prompt.
nid TARGET=SYS/syspassword DBNAME=TARGET SETNAME=YES
_____________________________________________________________________________________________________________________
0 comments:
Post a Comment