Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9052

Role of COMMIT WORK statement

$
0
0

Hello Experts,

 

I have a question regarding the COMMIT WORK statement when the underlying database is HANA.

 

My observation has been - when the underlying DB is MS-SQL, a statement like - INSERT dbtab FROM wa does not need a COMMIT WORK statement after the INSERT. The contents of wa are inserted into the dbtab immediately after the execution of the INSERT statement. On the other hand, this is not the case, when the underlying database is HANA. On an A4H (ABAP for HANA) system, the execution of INSERT dbtab FROM wa does NOT immediately insert the contents of wa to dbtab. Only when a COMMIT WORK statement is used after the INSERT, the insertion of the new record takes place.

 

Could you please help me understand why this is happening? Thanks for your time and effort.


Viewing all articles
Browse latest Browse all 9052

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>