What are Triggers?
This lesson provides an introduction to triggers and discusses the benefits and trade-offs of using them.
What are Triggers?
Triggers are MySQL programs that are executed automatically in response to an event. They are associated with tables. More specifically, a trigger is invoked in response to events that change the contents of a table like the INSERT, UPDATE, and DELETE statements. Triggers can be invoked before or after these events take place.
Get hands-on with 1400+ tech skills courses.