SQL - Triggers
Why does this trigger fail to log updates?
CREATE TRIGGER audit_update AFTER UPDATE ON customers FOR EACH ROW BEGIN INSERT INTO audit_log(customer_id, action_time) VALUES (OLD.id, CURRENT_TIMESTAMP); END;
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions