SQL查询回滚 [英] SQL Query rollback
本文介绍了SQL查询回滚的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在sql server 2005中执行该查询后,我可以回滚上一个查询吗?
can i rollback the previous query after executing that in sql server 2005
推荐答案
将其放入事务中.
是的,您可能可以回滚.
为清楚起见,请参阅此MSDN文章.
http://msdn.microsoft.com/en-us/library/ms181299.aspx [ ^ ]
如果有帮助,请 投票 和 接受答案 .
Put it inside the transaction.
Yes you can probably Roll back.
See this MSDN article for clarity.
http://msdn.microsoft.com/en-us/library/ms181299.aspx[^]
Please vote and Accept Answer if it Helped.
否我认为
如果您已经使用了Tranasction块,那么您可以
请检查以下线程:
http://www.dotnetspider.com/forum/146545-how- use-RollBack-commend-sql-server.aspx [ ^ ]
no i think
if you have used Tranasction block then you can
please check the following thread:
http://www.dotnetspider.com/forum/146545-how-use-RollBack-commend-sql-server.aspx[^]
这篇关于SQL查询回滚的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文