Tuesday, July 10, 2018

Visual Studio 2017 Pro - SQL Schema Compare

SqlSchemaCompare 


SQL Schema Compare from VS 2017 will compare all the objects from Source database to Target database.

Click on Tools > SQL Server > New Schema Comparism

Enter Source and Target Server and Database name



Click on Compare




After clicking compare button, you will see the objects which needs to be deleted, added , chanaged in Target Database.

You can update the Target my clicking Update button.



To generate the script, click on generate Script button



Sometimes, we need to compare indexes and tables between two databases. This is a useful tool for us.



No comments:

Post a Comment

How to add a Database to AlwaysOn Availability Group with four different options

To add a database to an existing AlwaysOn availability group, MS has given us four options to choose from Automatic seeding Full database an...