ORA-04091: table name is mutating

后端 未结 1 445
南方客
南方客 2021-01-22 05:36

I get ORA-04091 Error while inserting data into table A. Table A records are refferencing other records in the same table 1:N. Father records have fk_id = null and child record

相关标签:
1条回答
  • 2021-01-22 06:02

    You know what the problem is, so just read your code a little: you update the same table you are putting the trigger on.

    I guess in your case you just need to put :NEW.actualTS:=current_timestamp, without using the update statement.

    0 讨论(0)
提交回复
热议问题