When using Visual Studio, select a pending change to a .sql file. Select "Compare with Latest" or "Compare with Workspace Version." The file opens in the Diff Window.
Is there any way to be able to edit the .sql file in the Diff Window? This functionality is available when comparing other file types.