microsoft/mssql-scripter

Exclude objects excludes the CREATE DATABASE

arosas opened this issue · 0 comments

I am attempting to generate the database with a list of excluded stored procedures. So I'm having an issue regarding --exclude-objects option, so I was using the option to exclude a list of objects. mssql-scripter creates the script but one thing is missing. The CREATE DATABASE port. ion. I have attempted every combination of the following command

For example:

> mssql-scripter -S localhost -d Northwind -f c:\targetLocation\Northwind.sql --exclude-objects "SP1" "SP2" "SP1" "SP3" "SP4" "SP5" "SP6" "SP7" 

I would gladly appreciate the suggestions.