Options

Filtering Triggers

jkeiljkeil Posts: 7
edited September 3, 2005 11:03AM in SQL Compare Previous Versions
I am aware of the general IgnoreTriggers option when using SqlCompare. Is there any way to filter triggers by name rather than all or none? I got an error when I tried to include an Include/Exclude block for triggers with certain names in my xml config file.

Is this a feature that is a part of SqlCompare or is it that I may have just messed up the syntax?

Comments

  • Options
    Hello,

    I'm afraid that you're right. SQL Compare can compare all triggers or ignore all triggers only. In the current version, triggers are not treated as objects in their own right, but a property of a table. That means you cannot exclude them using the object type filters and you cannot select or deselect individual triggers.

    For the time being your best course of action is to save the script and hack out the trigger definitions that you do not want manualy.
This discussion has been closed.