I was unable to google this.
We have an existing database project (sql server).
Some new files (scripts) were added.
We have an existing server / database where some new scripts need to be run into that context.
In Visual Studio 2015, how can I accomplish this?
I was told to stay inside Visual Studio 2015. Ideally, I'd like to issue one command vs one for each individual script.
Create a publish profile in Visual Studio by choosing one of the following paths: Right-click the project in Solution Explorer and select Publish. Select Publish {PROJECT NAME} from the Build menu.
You have a couple of choices.
In short, the publish option allows automated brute force deployments, whereas schema comparisons provide more flexibility by letting you choose which changes to deploy, but schema comparisons cannot be automated.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With