Mensaje
General information
Foro:
Microsoft SQL Server
Category:
Miscellaneous
ID de la conversación:
01644302
ID del mensaje:
01644332
Views:
51
>Hi,
>
>I have done this procedure before but either forgot the steps or something is not working. Here is what I am trying to do:
>
>I have a DB in SSMS 2016 and I need to create a new DB with a different name but exact duplicate of the existing one.
>
>Here is what I tried:
>I right mouse click on the Database (in the SSMS explorer) -> Restore Database And at this point I am stuck.
>
>TIA.

At this point click on the script button. See the generated script and change what needs to be changed (e.g. DB Name) and try executing. Most likely you would need to use WITH MOVE option.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Responder
Mapa
Ver