Beginner Database Management Systems
Q24 / 100

What is a trigger in databases?

Correct! Well done.

Incorrect.

The correct answer is B) A database object that automatically executes a specified action in response to DML events (INSERT, UPDATE, DELETE) on a table

B

Correct Answer

A database object that automatically executes a specified action in response to DML events (INSERT, UPDATE, DELETE) on a table

Explanation

Triggers fire automatically BEFORE or AFTER INSERT/UPDATE/DELETE events. Used for auditing, enforcing complex constraints, or maintaining derived data.

Progress
24/100