views:

9

answers:

2

how can I list out all triggers on a table?

+2  A: 

The sys.triggers view contains information about the triggers, you can filter on parent_id if you want just one table. (Get the object id of the table or view with the OBJECT_ID() function)

OBJECT_DEFINITION() can be used to retrieve the text of the trigger, if required.

Damien_The_Unbeliever
A: 
 select * from sys.triggers 
nectar