形成了死循环,你insert或update的时候触发了update操作,而update操作又触发了update触发器,update触发器又进行update操作,......CREATE TRIGGER test
ON dbo.laoyin
FOR INSERT------,update 把update触发器去掉
AS
update laoyin set 时间=getdate() where (id= (select MAX(id) from laoyin))
ON dbo.laoyin
FOR INSERT------,update 把update触发器去掉
AS
update laoyin set 时间=getdate() where (id= (select MAX(id) from laoyin))
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货