Excluding objects in SQL Compare

Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
edited March 26, 2005 2:56PM in SQL Toolkit Previous Versions
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.

Comments

  • Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
    Hi,

    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.
This discussion has been closed.