Oracle trigger after insert or delete
What you’ve run into is the classic “mutating table” exception. In a ROW trigger Oracle does not allow you to run a query against the table which the trigger is defined on – so it’s the SELECT against TABLE1 in the DELETING part of the trigger that’s causing this issue. There are a couple of … Read more