码迷,mamicode.com
首页 > 其他好文 > 详细

SAP Module Pool Program Learning Documentation——Commit Work and Update dtab

时间:2017-09-08 16:20:41      阅读:222      评论:0      收藏:0      [点我收藏+]

标签:state   hang   this   his   iss   corrupt   less   flow   gic   

When using Native SQL to directly manipulate database tables, it makes a difference to use COMMIT WORK key words compared to not using.

If we updated the database in program by statement like INSERT or MODIFY, etc., the changes made to the database table will merely be temporarily affected if your program logic flow later occurs an E message or corruption. It means those changes will not be applied if your program later meets an error. This is because that we have not used the key word COMMIT WORK, which implement the changes we‘ve done to the database table immediately and then even if your program later comes across an error, the changes won‘t be rollbacked.

 

KISS: Keep it short and simple (or Business Version: Keep it simple and stupid).

Do more, Fancy Less.

SAP Module Pool Program Learning Documentation——Commit Work and Update dtab

标签:state   hang   this   his   iss   corrupt   less   flow   gic   

原文地址:http://www.cnblogs.com/ericwonne1996wangqifan/p/7494921.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!