1.

Triggers are not supported for _____________(a) delete(b) update(c) insert(d) viewsI had been asked this question in an online interview.The doubt is from Internal Security: Preventing Unauthorized Filesystem Access topic in chapter Access Control and Security of MySQL

Answer»

The correct OPTION is (d) views

For EXPLANATION: In MySQL, the triggers are RUN only after the table modifications like insert, update and DELETE are run. Triggers are not supported for views. In order to create a trigger, the CREATE TRIGGER STATEMENT is used.



Discussion

No Comment Found

Related InterviewSolutions