@@TRANCOUNT
Returns the number of BEGIN TRANSACTION statements that have occurred on the current connection. Can be 0 or 1 in Lyftron.
Syntax
@@TRANCOUNT
Return types
int
Example
SELECT @@TRANCOUNT as TransactionCount;
Returns the number of BEGIN TRANSACTION statements that have occurred on the current connection. Can be 0 or 1 in Lyftron.
@@TRANCOUNT
int
SELECT @@TRANCOUNT as TransactionCount;