Comments
1 comment
-
I think the command you want to use is
sqlcompare /s1:<servername>\<instancename> /db1:<databasename> /s2:<servername>\<instancename> /db2:<databasename> /sync
Here is a knowledge base article on "Simple examples using the command line"
http://documentation.red-gate.com/displ ... mmand+line
Add comment
Please sign in to leave a comment.
I am trying to figure out how we can compare dynamically two servers and sync automatically.
Example:
sqlcompare /MasterServer /MasterDatabase /DestServer /DestDatabase /sync
I want to keep all tables, SPs, functions synchronized between the servers I pass in to the command.
Any ideas?