📜  dbms 中的触发器是什么意思 - 无论代码示例

📅  最后修改于: 2022-03-11 14:59:03.134000             🧑  作者: Mango

代码示例1
Trigger
A trigger is a set of actions that are run automatically when 
a specified change operation (SQL INSERT, UPDATE, or DELETE statement) 
is performed on a specified table. 
Triggers are useful for tasks such as enforcing business rules, 
validating input data, and keeping an audit trail.