Using inserting, deleting, updating predicates with a case statement
I am creating a trigger for a table and I am currently trying to perform a different variable assignment dependent on which DLM operation fired the trigger like this:
if deleting then
a := 'x';
b := 'y';
if inserting then
a := 'y';
b := 'x';
Is there some way for me to do this same type of thing but instead using a CASE statement?