第一次接触触发器就出问题了 搞了两个小时~~
-- 通过触发器实现身份证不能更改create trigger modify_rybefore update on T_RY_JBXXbeginif update(SFZ) thenraise_application_error(-20002,'该表不允许修改身份证');
end if;
end;
update('SFZ') 加上‘’ 引号试试