Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create DB from an existing with Diff Name
Message
 
 
To
02/12/2016 16:33:11
General information
Forum:
Microsoft SQL Server
Category:
Other
Miscellaneous
Thread ID:
01644302
Message ID:
01644332
Views:
48
>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
Reply
Map
View

Click here to load this message in the networking platform