This script is used to find the number of triggers on database tables in database.
select object_name(parent_obj) as ObjectName,
count(name) as TotalTriggers
from sysobjects where xtype = 'tr'group by object_name(parent_obj)order by count(name) desc
No comments:
Post a Comment