If I invoke the file diff tool in Visual Studio 2015 on a text file with extension .dsql (Azure SQL DW and PDW SQL script) I get the error:
Error occurred during difference operation: Cannot execute the configured tool
Diff works as expected for other text file extensions.
Visual Studio Professional 14.0.25431.01 Update 3 using VSTS source control.
APPLIES TO: Azure SQL Database Azure SQL Managed Instance Visual Studio Code is a graphical code editor for Linux, macOS, and Windows. It supports extensions, including the mssql extension for querying a SQL Server instance, Azure SQL Database, an Azure SQL Managed Instance, and a database in Azure Synapse Analytics.
To compare two SQL databases with Visual Studio’s Schema Compare feature, follow these steps: From the main menu, go to the Tools -> SQL Server sub-menu -> New Schema Comparison: This will load the SqlSchemaCompare query window and the first thing that needs to be done is to select source and target from their corresponding drop-down lists:
VS2015 or VS2017 or VS2019 should be installed in your machine. Open Visual Studio and create a new project from the Menu, Select File > New > Project. Select the SQL Server Database Project from the list. Enter the Project name and click on create button. After the project is created, we can see the database project in the Solution Explorer.
(5) Azure SQL DB is stored in single specific machine while Azure Dedicated SQL pool can be stored in multiple machines and provide better Scale demands. (6) The queries languages is a bit different. Azure Dedicated SQL pool is based on SQL Server Parallel Data Warehouse (PDW) and Azure SQL DB is based on SQL Server.
You can compare text files by using the default file-comparison tool integrated with Visual Studio, the Diff window.
However, you can associate a file type with a third-party compare tool using these configuration steps.
Alternatively, you can give a try to WinMerge tool for comparing the files, it's easy and open source:
Open Source Control > Visual Studio Team Foundation under the Tools > Options menu in Visual Studio.
Click on Configure User Tools … and the Configure User Tools dialog will become available.
Add the WinMerge details for the Compare Tool. Click on the Add … button on the Configure User Tools dialog and configure as per the screenshot below. The arrow button next to the arguments text box exposes details about the information that Visual Studio can provide the tool being configured.
The configured arguments are:
/e /u /wl /wr /dl %6 /dr %7 %1 %2
WinMerge Command Line Options
/e Enables WinMerge to be closed with a single Esc key press. /u Prevents WinMerge from adding either the left or right hand side file path to the Most Recently Used (MRU) list. /wl Opens left hand side as read-only. /wr Opens right hand side as read-only. /dl Description for left hand side title bar. /dr Description for right hand side title bar.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With