摘要: 仔细研究了下,发现sql server里面的explicit transaction还是有点复杂的。以下是有些总结: · Commit transaction 会提交所有嵌套的transaction修改。但是如果嵌套的transaction里面有rollback tran to save point, 那么save point之后的部分会revert掉。 delete from dbo.numbertable begin tran out1 insert into dbo.numbertable values(1) insert into dbo.numbertable ... 阅读全文
posted @ 2011-12-16 17:51 冯小诺 阅读(11488) 评论(0) 推荐(3) 编辑