That way, we can synchronize all database versions easily.įrom the solution explorer, right click and select Schema Compare and it will ask for the source database and target database. We can compare the local development database schema with the target server schema before deployment. This is a very cool feature in the database project that everyone would like. I have given the project name as ProjectTracker.Database.ĭatabase Publish options Schema Compare in Database Project In the right side pane, select SQL server database project and provide the project name. To create a new SQL server database project, open “New Project” dialog and from there, select SQL Server from the default template. Create Database Project on Visual Studio 2013 Later, we will show how to create a database project from an existing database. For now, let’s see how to create a DB project from scratch. We can create a new database project from an existing database with just a button click or we can create a database project from scratch. The SQL database development was present on Visual Studio since VS.NET version 2010 but in 2013, we have many powerful features present. We can also keep all the database object changes under version control. We can develop, manage, compare and deploy the database changes using Visual Studio very easily. We have the above issue until we work with SQL database projects using Visual Studio. This is quite error prone and needs lots of testing. It is a very responsible task for any DBA to keep track of all the changes and deploy these changes to multiple servers. Unlike the database changes, managing code changes is easy due to availability of version control. The work is tougher when we have multiple test environments or multiple servers in place. One of the challenging tasks on any software project is to manage the database changes and keep all changes in sync.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |