Databases & SQL

Trigger

/ˈtrɪɡər/

Definition

A database procedure that runs automatically when a specific event occurs (INSERT, UPDATE, DELETE) on a table.

Example in context

"An audit trigger logs every UPDATE on the users table to audit_log with the old and new values."

Related terms

Practice this term

Master Trigger in context by working through exercises in the Databases & SQL module. You'll see the term used in real engineering scenarios with multiple-choice, fill-in-the-blank, and matching drills.