1、create or replace trigger A after insert on B for each row
begin
end;
向B中插入值时报ORA 04098 trigger A is invalid and failed re-validation
2、create or replace trigger A after insert on B for each row
begin
dbms_output.put_line('a');
end;
向B中插入值时不报错
3、create or replace trigger A after insert on B for each row
begin
insert into C values(...)
end;
单独执行insert into C values(...)没问题,整段时又报ORA 04098 trigger A is invalid and failed re-validation
求解。