Returns the number of BEGIN TRANSACTION statements that have occurred on the current connection. Can be 0 or 1 in Querona.
@@TRANCOUNT
int
SELECT @@TRANCOUNT as TransactionCount;
Functions