Concept Flow - UPDATE trigger with OLD and NEW
UPDATE command issued
Trigger fires BEFORE or AFTER UPDATE
Access OLD row values
Access NEW row values
Trigger logic runs using OLD and NEW
Update completes with NEW values applied
Transaction continues or ends
When an UPDATE happens, the trigger runs and can see the old row values and the new row values to decide what to do.