• Buy Now
  • Download
sql server comparison tool
  • Home
  • Pricing
  • Screens
  • Contact
SQL Server Comparison Tool User Guide
Overview
Getting Started
Adding server to SCT
Removing server from SCT
Keyboard Shortcuts
Toolbar
Getting database information
Structure Comparisons
Comparing selected objects
Comparing all objects
Bulk comparisons
Selective comparisons
Data Comparisons
Comparing data in two tables
Data comparison options
Comparing data in two tables
Exporting data from table to HTML file
Exporting data from table to Excel file
Automating Comparisons
Saving Comparisons
Command Line Parameter
Ordering & License
License agreement
System requirements
Technical Support
Contacts & Credits
< Previous page Next page >

Command Line Parameter

 
Running saved comparison process using command line parameter is very simple. The only parameter needed to pass is Comparison Id - all other parameters of given comparison were already defined with the GUI at the time of recording comparison (so that you do not need dozens of command line switches).
 
Command line parameter has following syntax:
 
/RunSavedComp n,
 
where n indicates Id of saved comparison process.
 
To get the Id of given comparison process:
 
  • click menu item File -> Run Saved Comparison Process (or press keys Ctrl + F5) to display the list of all saved comparison processes
     
     
  • select given comparison process and right-click it
     
  • read the Id of the process from the pop-up Properties screen.
     
     
Here is an example of command line parameter:
C:\Program Files\SQL Server Comparison Tool\sct.exe /RunSavedComp 4
- C:\Program Files\SQL Server Comparison Tool\sct.exe is a path to executable file of SCT
- 4 represents the Id of the comparison process to be run
Program can be run with command line parameters in several ways, one of them is as follows:
  • click Windows "Run..." menu item (displayed after clicking "Start" button)
     
     
  • enter the full path of SCT (or drag and drop file "sct.exe" from Windows Explorer to "Run" dialog)
     
     
  • enter space after the path, followed by the text "/RunSavedComp n" (without quotation marks, "n" should be replaced with actual process Id)
     
     
  • click button "OK"