Skip to content

Instantly share code, notes, and snippets.

@martinusso
martinusso / disable_all_triggers_on_firebird.sql
Last active April 17, 2019 07:19
Enable/Disable all Triggers on a Firebird database
update
rdb$triggers
set
rdb$trigger_inactive = 1
where
rdb$trigger_source is not null
and (coalesce(rdb$system_flag,0) = 0)
and rdb$trigger_source not starting with 'CHECK'