create table system.test_bin( id number(3),name varchar2(3));
create sequence system.test_sql increment by 1 start with 1 maxvalue 1000;
Create or Replace Trigger system.test_tig Before Insert Or Update of id on system.test_bin
FOR EACH ROW
Begin
if inserting then
select to_number(test_sql.nextval) into :new.id from dual;
else
raise_application_error(-20002,'更新id失败');
end if;
end;
最后往里查数据:insert into system.test_bin(id) values(3);
提示:ORA-04098:触发器无效或未通过重新验证
请回答我的问题