Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Clone a database using Copy wizard. How to avoid duplicate logical names?

$
0
0

Hi!

I have created a Copy Database Task. This all works out find, how ever. The logical name of the cloned database remains and does not get the new name.
The cloned db goes on the same server and instance.

My source database is called BFA, and the target BFA_CLONE. I also detach the source during copy, drop target if it exists and always reattach BFA. After the copy there is a new BFA_CLONE.

Is there a way to change the logical name after the copy? On booth the db file and log file?

Is there anything that can go wrong if there are two identical logical names?

Regards

Martin


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>