SQL Server - Understanding the behavior of @@TRANCOUNT when querying f

added by jacobsebastian
8/30/2010 9:26:39 PM

3 Kicks, 126 Views

As you know, @@TRANCOUNT is used to inform you about the number of live transactions active at point. If you want to retrieve it's value using an application, you should be careful about the behaviour of the returned value.