engineering computer science MCQ #758

What is the purpose of a 'TRIGGER' in a database?

engineering computer science MCQ #758

  1. Question 1

    Q1. What is the purpose of a 'TRIGGER' in a database?

    • A) To automate tasks
    • B) To enforce data consistency
    • C) To improve query performance
    • D) To manage user permissions

    Answer: To enforce data consistency

    Explanation: A 'TRIGGER' is a set of actions that are automatically executed in response to certain events, such as insert, update, or delete, to enforce data consistency.