>>>>
>>>>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>.
"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