I’ve created a trigger BEFORE INSERT OR UPDATE on a table and, indeed, when the trigger is raised before insertion the record “old” is not assigned. Is there a way to distinguish in the trigger procedure from an insert statement to an update statement?