标签:
---note---
一种特殊的储存过程
after 表示执行代码后,执行触发器
instead of 表示执行代码前,用已经写好的触发器代替你的操作
trigger
触发器语法:
create trigger 触发器名 On 操作表
for | after instead of
update | insert | delete
as
SQL 语句
create trigger tr_insert on bank
for | after
insert
as
delete * from bank where cid = (select cid from inserted)
---note---
标签:
原文地址:http://www.cnblogs.com/Dying39/p/5788757.html