oracle 触发器问题

create or replace trigger info_state
       before update
       of ip_districtid,fenji
       on into_prison
       for each row
begin 
      insert into into_prison_log(intoPrisonID)
      values(into_prison.ip_id);
      end;

Compilation errors for TRIGGER PRISON.INFO_STATE

Error: PL/SQL: ORA-00984: 列在此处不允许
Line: 8
Text: values(into_prison.ip_id);

Error: PL/SQL: SQL Statement ignored
Line: 7
Text: insert into into_prison_log(intoPrisonID)

你可能感兴趣的:(oracle,sql)