Creating and Maintaining Databases

Viewing a Trigger

In Microsoft® SQL Server™ 2000, you can determine the types of triggers on a table, the name of the trigger, its owner, and the date it was created.

You can also:

The result set of sp_helptrigger contains the columns isafter and isinsteadof to report whether a trigger is an AFTER or INSTEAD OF trigger. The OBJECTPROPERTY function reports whether a trigger is an AFTER or INSTEAD OF trigger through the ExecIsInsteadOfTrigger and ExecIsAfterTrigger properties.

To view the types of triggers on a table

Transact-SQL

SQL-DMO

To view information about a trigger

Transact-SQL

SQL-DMO

To view a trigger

Transact-SQL

Enterprise Manager

Enterprise Manager

SQL-DMO

To view the dependencies of a trigger

Transact-SQL

Enterprise Manager

Enterprise Manager

SQL-DMO

See Also

OBJECTPROPERTY

sp_helptrigger