SQL code compare
ApexSQL Compare is a tool that can compare files, SQL Server objects, and folders. It can be integrated as an add-in into SQL Server Management Studio (SSMS) and Visual Studio, or it can be used directly from the command line interface. It can perform a two-way script comparison and create a merged file. It includes three comparison modes that include Character, Line, and Block comparisons, along with the appropriate syntax highlighting.