1. You can use query to get the list of triggers in the database.
2. You can use this query to get the table on which the given trigger has been written.
3. You can use this query to get list of triggers and associated tables:
select name from sys.Triggers
2. You can use this query to get the table on which the given trigger has been written.
sp_depends "triggername"
3. You can use this query to get list of triggers and associated tables:
select name, object_name(parent_id) from sys.triggers
select name,OBJECT_NAME(parent_obj) from sysobjects where xtype = 'TR'
Comments
Post a Comment