ms sql 事务

备忘
begin
tran set xact_abort on --表示遇到错误立即回滚 insert update select delete --执行逻辑 commit tran --提交事务

 

posted @ 2014-07-31 15:23  Vinton.Liu  阅读(161)  评论(0)    收藏  举报