Codechef4u is a community for computer professionals,by computer professionals,just like you; who loves sharing and helping each others,Join them
Share your post

Answers


Presently Microsoft Visual studio SQL Server Data Tools provide Schema and Data Compare inbuilt feature.

In Visual Studio 2017, Go to Tools > SQL Server > New Schema Compare > Select Source Db> Select destination DB

Using this compare tool you can compare Schema of source and destination database, also you can compare different versions of same database.

The result of the comparison between two databases or database projects is analyzed and allows you to apply the change from source database to target, or simply generate T-SQL scripts you can view, modify and run at your control.

Also, you can create your own T-SQL script to compare two DB schema's, in following post author shared Stored procedure

https://gallery.technet.microsoft.com/Compare-two-databases-for-b44e7afa


Share your answer


Share as a guest

Please subscribe me to the CodeChef4U.

By creating your new answer, you agree to the privacy policy and terms of service.