Multiple choice technology databases

Indicate whether this statement is true or false. A trigger can be used instead of a foreign key to implement referential integrity.

  1. True

  2. False

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

Triggers can enforce referential integrity by executing custom logic before or after INSERT/UPDATE/DELETE operations. They can validate data, prevent invalid operations, or cascade changes similar to foreign key constraints. While foreign keys are declarative and preferred, triggers offer programmatic control for complex scenarios.