Introduction

Databases are a challenge nowadays for developers and it’s one of the most challenging tasks in any software project to manage the database changes and keep these changes in sync. The work is tougher when we have multiple environments, like dev, stab, or multiple servers in place.

It’s a big responsibility of any DBA to keep track of all the changes happening to the database, and deploy those changes to multiple servers.

To overcome the above issue, we have SQL Database Projects in Visual Studio. It’s very easy to develop, manage, compare, and deploy the database changes using Visual Studio. We can also keep track of all the database object changes under version control.

Visual Studio Database Project gives you the flexibility to create new database project from an existing database with just a button click, or you can create database project from scratch.

Let’s see the demo.

Now, to Publish your database into SQL Server, follow the below steps.

Summary

In this article, we learned how to create Database Project in Visual Studio 2015 and publish the same database in SQL Server 2014. I hope you liked it.