MCQ PracticeSingle Best AnswerTopic: Stored functions and triggers - MySQL
Q
Which of the following is a characteristic of triggers in MySQL?
Question ID
#15535
Subchapter
Stored functions and triggers - MySQL
Action
Choose one option below
Choose Your Answer
Click an option to check whether your answer is correct.
A
They can return result sets ✔✖
B
They are called explicitly by the application ✔✖
C
They can be defined on temporary tables ✔✖
D
They are executed before a specific event occurs ✔✖
D
Correct Answer: D
Explanation
A characteristic of triggers in MySQL is that they are executed before a specific event occurs. Triggers are defined to perform actions before or after an event, such as before inserting a row into a table or after updating a record.