ORA-25000 invalid use of bind variable in trigger WHEN clause

Translate this page

Oracle Database Error ORA-25000

ORA-25000 invalid use of bind variable in trigger WHEN clause

Cause

A bind variable was used in the when clause of a trigger.

Action

Remove the bind variable. To access the table columns use (new/old).column_name.

User Posts for ORA-25000

Oct222010

ravicreate table t1(a number); create table t2(b number); create or replace trigger ins_trg before insert on t1 for each row when(:new.a<=5) begin insert into t2 values(:new.a); end ins_trg; i have created t1,t2 tables.i like to create a trigger on t1 table by when clause as shown in above.when i am creting trigger it is showing this"ORA-25000 invalid use of bind variable in trigger WHEN clause" what is the solution for this.

Post your own questions, answers and tips for ORA-25000

No registration required

CAPTCHA Image New word