sql server 事务嵌套 并行执行
摘要:
------外层事务declare @flag intset @flag=0declare @successcount intset @successcount=0declare @returnvalue intbegin tran t1while @flag0begincommit tran t1endelsebeginrollback tran t1end---内层事务(存储过程)SET ANSI_NULLS ONGOSET QUOTED_IDENTIFIER ONGOalter PROCEDURE [dbo].[testpro](@flag int)ASBEGINdeclare @tra 阅读全文
posted @ 2014-04-11 10:36 习惯简单 阅读(1355) 评论(0) 推荐(0) 编辑