Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create empty database based on existing
Message
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01491668
Message ID:
01491692
Vues:
35
>>>
>>>I searched the script for CREATE DATABASE and didn't find any.
>>
>>Ok, add them from your other script (create database)
>
>What I ended up doing (because I am not sure I know the correct syntax of CREATE DATABASE with all the choices) is I created database in the SSMS (manually) and then added to the script line use [MyNewDatabase] at the top. Then I executed the script and in less than a second a new database is "populated" with all tables and stored procedures.
>Thank you for your help.

Yes, I think that's what I used to do in the past also.
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