
With this episode I would like to commence long-awaited new series I hope you liked it.New DB project with SSDT and import existing database DevOps & databases with SSDT in practice In this article, we learned how to create Database Project in Visual Studio 2015 and publish the same database in SQL Server 2014.

You can select SQL Server version from project settings.Right click on your Solution Explorer, click on your database project, and then click on Properties.Now, to Publish your database into SQL Server, follow the below steps. You will see that it generates the script in lower part and saves the table schema. Once you are done with adding the tables, you will see design.Now, right click on the Project and click on Add >Table.Enter the name and choose the location.Then, select “SQL Server Database Project”.In Visual Studio, go to “File” - “New” - “Project”.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. We can also keep track of all the database object changes under version control.


It’s very easy to develop, manage, compare, and deploy the database changes using Visual Studio. To overcome the above issue, we have SQL Database Projects in Visual Studio. 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. The work is tougher when we have multiple environments, like dev, stab, or multiple servers in place. 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.
