I have a table with 50 columns. I need to make a trigger to do something, i can do that, but i need to do whene 1 of 24 columns are updated. The problem is i have to do 24 times if NEW.column <> OLD.column THEN ELSEIF NEW.column2 <> OLD.column2 THEN .... I was wondering is there other (easy) way to do this check?
Thanks.