回滚所有事务

set xact_abort on

xact_abort 为 on时,当其中一条T-sql错误,回滚所有事务,否则只回滚错误sql的事务

posted @ 2014-08-03 07:59  新瑞腾达  阅读(207)  评论(0编辑  收藏  举报