ORA-04098: 触发器无效且未通过重新验证

第一次接触触发器就出问题了 搞了两个小时~~

-- 通过触发器实现身份证不能更改
create trigger modify_ry
before update on T_RY_JBXX
begin
if update(SFZ) then
raise_application_error(-20002,'该表不允许修改身份证');

end if;

end;

update('SFZ') 加上‘’ 引号试试