What is a database trigger?
Practice this question from Quiz: DBMS for Java, with options and an explanation.
Question
What is a database trigger?
Option A — Correct answer
Database logic that runs automatically after or before configured table events
Triggers respond to events such as INSERT, UPDATE, or DELETE.
Option B
A Java constructor
Option C
A thread pool
Option D
An HTTP status code