Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create DB from an existing with Diff Name
Message
 
 
À
02/12/2016 16:33:11
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Divers
Thread ID:
01644302
Message ID:
01644332
Vues:
49
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform