title: unable to create a trigger using ' WHEN '
body: <pre><code>create trigger info22 after insert on table_info1 for each row 
  when( :new.pid &lt; 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;
  </code></pre>
  
  <p>when I typed the above query I'm getting a error as</p>
  
  <pre><code>ORA-25000: invalid use of bind variable in trigger WHEN clause
  </code></pre>