Displaying trigger dependencies

A trigger can have complicated dependencies. For example, a trigger in one table can call a stored procedure in another database. Similarly, one trigger can cause triggers of other tables to get fired. The reference by shows all those complicated dependencies on the current trigger.

The property button open up the appropriate property of the object the trigger referenced.

StepsDisplaying trigger dependencies

  1. Select the trigger icon.

  2. Go to File | Properties.

  3. Click the Dependencies button on the General tab of the property sheet.

A trigger can have complicated dependencies. For example, a trigger in one table can call a stored procedure in another database. Similarly, a trigger in one table can cause triggers in other tables to get fired. The ReferenceBy shows all those dependencies on the current trigger.

You cannot delete trigger until all dependencies are resolved. To eliminate trigger dependencies, go to the each dependant object individually, and delete the reference to the trigger.