1.

Which of these is defined to execute when the table is modified only?(a) Stored functions(b) Stored procedures(c) Triggers(d) EventsI had been asked this question in an online quiz.Asked question is from Compound Statements and Statement Delimiters topic in division Stored Programs of MySQL

Answer» CORRECT choice is (c) TRIGGERS

For explanation I would say: In MYSQL, triggers are ASSOCIATED with a table. They are defined to execute when the table is modified via INSERT, DELETE or UPDATE statements. MySQL supports objects to be stored on server side.


Discussion

No Comment Found

Related InterviewSolutions