Cloning database with different SID name
I have two test databases "TrgtA" and "TrgtB" on same database server. Performed a clean shutdown/ cold backup on "TrgtA" and copied the datafiles and control files to the appropriate location in "TrgtB" database.
based on the command alter database I then created a control file from "TrgtA" and modified, and executed the new controlfile to apply to "TrgtB" . Please let me know if the steps need modification. I assumed that I would need to create the controlfile, since the SID name is different. Your assistance is appreciated.
SQL> connect sys/password@TrgtB as sysdba
Connected to an idle instance.