Multiple choice technology databases

A trigger is…

  1. a special type of table

  2. a special type of store procedure, executed when certain event occurs

  3. a special type of view

  4. an event

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

A trigger in SQL is a special type of stored procedure that automatically executes in response to specific database events like INSERT, UPDATE, or DELETE operations on a table. Unlike regular stored procedures that must be called explicitly, triggers fire automatically when their defined event occurs.