Excluding objects in SQL Compare
Brian Donahue
Posts: 6,590 Bronze 1
Hello,
Yes -- you can get SQL Compare Engine to exclude objects in the code. There is a bit in the example project where you loop through the objects, then set the Selected property on them to True. You could add a condition in that loop to conditionally set the Selected property to false. In that case, the object will not be synchronized.
Yes -- you can get SQL Compare Engine to exclude objects in the code. There is a bit in the example project where you loop through the objects, then set the Selected property on them to True. You could add a condition in that loop to conditionally set the Selected property to false. In that case, the object will not be synchronized.
This discussion has been closed.
Comments
I'm sorry, but this isn't possible. Snapshots must contain all of the database objects; filtering out objects can only take place before the comparison. All objects must be registered, but you can select what will be compared and synchronized later.