Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create DB from an existing with Diff Name
Message
 
General information
Forum:
Microsoft SQL Server
Category:
Other
Miscellaneous
Thread ID:
01644302
Message ID:
01644345
Views:
40
>>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.

Thank you. I am traveling but when I am I will try it
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform