CREATE OR REPLACE PROCEDURE "TLGL"."TLGB"
AS
BEGIN
execute immediate ‘ALTER TRIGGER XG ENABLE‘;
END;
--关闭所有触发器
alter table tbname disable trigger all
--开启所有触发器
alter table tbname enable trigger all
如果是启停指定触发器,则将all改为触发器名
ALTER TRIGGER TRIGGER_name DISABLE;
ALTER TRIGGER TRIGGER_name ENABLE;
阅读(7223) | 评论(0) | 转发(0) |