Oracle触发器无效且未通过重新验证

2024-11-25 20:49:02
推荐回答(1个)
回答1:

create or replace trigger demo_trig
before insert on demo
for each row
declare
begin
select demo_seq.nextval into :new.demo_id from dual;
end demo_trig;

触发器end的时候你多了个demo