交易,回滚为C ??? [英] transaction, rollback for C ???
本文介绍了交易,回滚为C ???的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好.
现在,希望对我有帮助.
当我更新表USER的字段"Pass"时.如果表USER有10条记录,但是更新到记录5时==>错误,当表未更新时,我需要回滚所有数据,但是如果更新10记录成功==>全部更新.
非常感谢.
解决方案
您甚至都没有提到要处理的数据库...:rolleyes:
>
hi everybody.
now, i wish help for me this matter.
when I update field "Pass" of table USER. if table USER have 10 records, but when update to records 5 ==> error, i need rollback all data when table not update, but if update 10 records success ==> update all.
thanks very much.
解决方案
You didn''t even mention the database you are dealing with... :rolleyes:
这篇关于交易,回滚为C ???的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文