set xact_abort on begin tran sql语句地方 commit tran go 转载于:https://www.cnblogs.com/systemnet123/archive/2013/05/10/3070449.html