I have TABLE 1. In this table I created a trigger: AFTER INSERT OR UPDATE OR DELETE
Now, if I do an insert that doesn't insert anything, the trigger will still fire:
insert into TABLE1 select * from TABLE1 where 1=0;
This request will insert NO ROWS, but still the trigger still fires.
Is there any way to avoid this? Is this normal behavior?
source
share