Inquiry
To query all triggers of a database, use:
SELECT * FROM sys.triggers
Failed attempt
I've tried delete all or some of triggers contained in the result:
DELETE FROM sys.triggers
or DELETE FROM sys.triggers WHERE nome LIKE 'doc%'
But you acknowledge the error :
Ad hoc updates to system catalogs are not allowed.
Doubt
- I would like to know, how do I delete all or some triggers ?