MariaDB 面试题与答案
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. |
保存以便复习
收藏此条目、标记为困难题,或将其加入复习集合。
这有帮助吗? 是 否
用户评价最有帮助的内容:
- Explain the purpose of the mysqldump command.
- What is the purpose of the MariaDB INFORMATION_SCHEMA database?
- How can you secure a MariaDB installation?
- What is the purpose of the OPTIMIZE TABLE statement in MariaDB?