Comments
2 comments
-
Hi JohnnyS,
You use the same syntax as you do in SQL Compare described on this page:
https://documentation.red-gate.com/sc/using-the-command-line/switches-used-in-the-command-line#Switchesusedinthecommandline-/Sourcecontrol1
Which will look something like this:
SQLDataCompare.exe /Sourcecontrol1 /revision1:4 /Sourcecontrol2 /revision2:3 /sfx:"E:\ZD Ticket Files\Z159781\sfx.txt"
The creation of sfx.txt (ScriptsFolderXML - found from SQL Source Control) is described here:
https://documentation.red-gate.com/sc/using-the-command-line/switches-used-in-the-command-line#Switchesusedinthecommandline-/ScriptsFolderXML:%3Cfilepath%3E
I'll see about getting the SQL Data Compare documentation updated to include the source control source and target information!
Kind regards,
Alex -
Hi @JohnnyS,
The documentation for SQL Data Compare has now been updated with this information as well.
Kind regards,
Alex
Add comment
Please sign in to leave a comment.
I have been unable to find any documentation or help on comparing Source Control versions to other Source Control versions via command line. Has anyone done this or have some documentation/examples to point me to?
Thanks in advance!
Johnny