📢 Too many exams? Don’t know which one suits you best? Book Your Free Expert 👉 call Now!


    Question

     What is the primary purpose of a "Trigger" in a

    database?
    A To define a virtual table based on a query. Correct Answer Incorrect Answer
    B To enforce referential integrity constraints automatically. Correct Answer Incorrect Answer
    C To execute a stored procedure manually. Correct Answer Incorrect Answer
    D To automatically execute a specified SQL code in response to certain events (INSERT, UPDATE, DELETE) on a table. Correct Answer Incorrect Answer
    E To create a temporary table for complex calculations. Correct Answer Incorrect Answer

    Solution

    Answer: D) To automatically execute a specified SQL code in response to certain events (INSERT, UPDATE, DELETE) on a table.

    Practice Next
    More IT DBMS Questions
    • Find the number of triangles in the given figure?

      Find the number of triangles in the given figure?

      Image

    • Find the total number of triangles in the figure.

    • How many triangles are there in the given figure?

    • How many triangles are there in the figure?

    • Find the number of triangles in the given figure.

      How many squares are there in the given figure?

      Image

    • Count the number of parallelogram in the given figure.

      In following figure, how many minimum straight lines are required to draw given figure.