我正在寻找一个答案,以确定在语句引起的操作之后是立即触发SQL中的触发器,还是仅在提交整个事务之后?
In SQL Server, AFTER
triggers are fired immediately following an action caused by a statement. (A transaction can be rolled back by a trigger).
There are also INSTEAD OF
triggers which fire in place of the triggering action.
Also of interest: Joe Celko's Triggers: Threat or Menace?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.