Mysql BEFORE UPDATE TRIGGER set certain column value before the actual update on the same column
I want to set STATUS column value to null before an update happen in TABLE_A regardless whether the update changes the STATUS column value or not. Suppose that the update statement looks like this UPDATE TABLE_A SET STATUS=0, STATUS_A=1;, i…