【发布时间】:2016-03-20 10:14:02
【问题描述】:
create trigger info22 after insert on table_info1 for each row
when( :new.pid < 60 )
begin
dbms_output.put_line(' thus the given id is less than 60');
insert into table_info2 values(:new.pid, :new.pname, :new.ploc);
end;
当我输入上述查询时,我收到一个错误
ORA-25000: invalid use of bind variable in trigger WHEN clause
【问题讨论】: