Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Question: What are triggers in MariaDB, and how are they used? Provide an example.
Answer: Triggers in MariaDB are sets of instructions that are automatically executed (or 'triggered') in response to specific events on a particular table or view. An example trigger might be one that automatically updates a 'last_modified' timestamp when a row is updated.
Is it helpful? Yes No

Most helpful rated by users:

©2025 WithoutBook