要放在一个存储过程里begin tran
insert into a where f='1'
if @error<>0 goto lb_error
insert into b where c='0'
if @error<>0 goto lb_error
commit tran
returnlb_error:
rollback tran
return
insert into a where f='1'
if @error<>0 goto lb_error
insert into b where c='0'
if @error<>0 goto lb_error
commit tran
returnlb_error:
rollback tran
return
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货