如何实现回滚

扫码查看
本文介绍了如何实现回滚的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




如果在任何查询中出现任何错误,我想为2个查询或更多查询实现Rollback代码,所有查询都将被取消。



即我有5个查询,第四个查询中有错误,上一个查询将被取消



谢谢

解决方案



Hi
I want to implement code of Rollback for 2 queries or more if there is any mistake in any query, all queries will be canceled.

i.e. I have 5 queries there is an error in the forth query the previouse queries will be canceled

thank you

解决方案



这篇关于如何实现回滚的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-26 07:10
查看更多