Run a SQL Data Compare project via DOS Command Prompt

skimanrunskimanrun Posts: 4
edited October 21, 2016 5:27AM in SQL Data Compare 11
Please tell me how to execute a SQL Data Compare project and export the result to .csv file from a DOS command prompt. My goal is to schedule a project via Windows scheduler.
Thank you,

Serey

Comments

  • Alex BAlex B Posts: 1,131 Diamond 4
    Hi Serey,

    Using the documentation here it will be something like:
    sqldatacompare /Project:"C:pathToYourProjectproject.scp" /Export:"C:pathToSaveResults"
    

    eg:
    sqldatacompare /Project:"C:SQLCompareProjectsWidgets.scp" /Export:C:WidgetResults
    

    You will need to navigate to the folder SQL Data Compare is installed in or put the full path to the executable.

    Kind regards,
    Alex
    Product Support Engineer | Redgate Software

    Have you visited our Help Center?
Sign In or Register to comment.