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

Re: How to FInd Last Iserted Row Id in Hana

$
0
0

Sorry Mohammed, but this approach is wrong in several ways and not correct in any way.

 

To summarise again:

  • relations don't have a default order
  • with possible parallel sessions you need locking to force data change operations into a specific order
  • when the last inserted record is relevant to your application a separate column needs to be maintained

 

- Lars


Viewing all articles
Browse latest Browse all 8843

Trending Articles



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