Comments
4 comments
-
Hi Dan,
You can use your project file from the command line by using the /Project switch and doing something similar to the following...sqldatacompare.exe /Project:"C:SQLCompareProjectsWidgets.scp"
-
I guess it's time for new eyeglasses. I looked through the documentation and somehow missed that switch.
Thanks,
Dan -
I know I need glasses because I cannot figure out where sql script file goes.
I know /Export will create a csv file, but in the above example where is sql script file that will do the synchronizing?
Thanks -
sqldatacompare.exe /?
will describe the command line syntax. You can add /verbose for more detail.
To generate a SQL synchronization script, usesqldatacompare.exe /scriptfile:<destination_file_path>
Or to actually run the synchronization, usesqldatacompare.exe /synchronize
Obviously you'll need to combine these arguments with the project file or source and target database arguments.
Add comment
Please sign in to leave a comment.
Thanks,
Dan