Viewing post 1 (of 1 total)
Perhaps use sys.dm_tran_current_transaction.
declare @@flag int
select @@flag = 11
--While (@@flag > 0)
--begin
-- set @@flag -= 1
-- begin tran...
February 6, 2014 at 12:24 pm
#1686724