Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create empty database based on existing
Message
 
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 2005
Miscellaneous
Thread ID:
01491668
Message ID:
01491695
Views:
34
>>>>>
>>>>>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.
>
>I thought I was the only one who does not know the syntax of CREATE DATABASE <g>.

:)))
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform