Question

I have a saved SQLCompare project which I use to synchronize my local database with another "master" database. When I run the project via the GUI, everything works fine. However when I run it via the command line, only objects that exist on both sides get synchronized. For example, if a column is added to or removed from a table, that change will get propagated. But if a whole table was added or removed, that change does not get propagated to my local database. Is there some way to get the command line to synchronize everything? I want my local database to match the master database exactly.

I'm running version 8.1. Here's the command line I'm using:

SQLCompare.exe /project:SynchSchemaToLocal.scp /synch /v 
Was it helpful?

Solution

In the UI project, make sure you have 'green ticks' in the 'include in synchronization' column for each of the groups you want to sync'.

This will ensure that all objects in that group will be included when synchronizing.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top