I want to create a trigger that catches INSERT and UPDATE and based on the action performs something. In Oracle it can be done doing:
CREATE OR REPLACE TRIGGER ABC_BIU BEFORE INSERT OR UPDATE ON ABC
FOR EACH ROW
BEGIN
IF INSERTING THEN
...
END IF;
...
END;
Here is mentioned that INSERTING is a keyword used in conjunction with the TRIGGER in Oracle and here you can see the usage:
IF INSERTING THEN ... END IF;
IF UPDATING THEN ... END IF;