Quantcast
Channel: SCN: Message List - SAP Adaptive Server Enterprise (SAP ASE) for Custom Applications
Viewing all articles
Browse latest Browse all 3587

Re: Insert into hold lock and never release.

$
0
0

My guess would be that there is an explicit BEGIN TRANSACTION statement upstream of the insert that never gets explicitly committed, your code likely needs to add a COMMIT TRANSACTION statement somewhere.

 

You can check if you are in an open transaction with @@transtate and @@trancount,


Viewing all articles
Browse latest Browse all 3587

Trending Articles



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