engineering computer science MCQ #901

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

engineering computer science MCQ #901

  1. Question 1

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

    • A) To automatically execute a set of actions in response to certain events
    • B) To manually execute a set of actions in response to certain events
    • C) To store data in a database
    • D) To retrieve data from a database

    Answer: To automatically execute a set of actions in response to certain events

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