Me puse a ver algo del diccionario de datos, fijense que con
select *
from rdb$triggers
where rdb$trigger_name not starting with 'RDB$'
and rdb$trigger_name not starting with 'CHECK'
se pueden ver los triggers del usuario y el campo que dice
si esta activo/inactivo el trigger es inactive (0 activo, 1 inactivo)
sera que para desactivarlos la instruccion de abajo funcionará ?
update
from rdb$triggers
set inactive = 1
where rdb$trigger_name not starting with 'RDB$'
and rdb$trigger_name not starting with 'CHECK'
y para activarlos
update
from rdb$triggers
set inactive = 0
where rdb$trigger_name not starting with 'RDB$'
and rdb$trigger_name not starting with 'CHECK'
__________________
Luis Fernando Buelvas T.
|