Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

How does @@TRANCOUNT behave with escalated distributed transactions?

$
0
0

I understand that an explicit declaration of a distributed transaction (BEGIN DISTRIBUTED TRANSACTION) does not change the @@TRANCOUNT return value at all (and correct me if I'm wrong,  because I was unable to test it by myself due to the lack of MS DTC in my testing platform). But I'm concerned about what could possibly happen with this value when a normal, local transaction, automatically escalates to a distributed one because of a command referring to an external database.

Any idea?


Viewing all articles
Browse latest Browse all 23857

Trending Articles



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