Я написал следующий запрос для одновременной транзакции
Select * from Accounts
-- Transfer $ 100 from Mark to Mary
Begin Try
Begin Transaction
update Accounts Set Balance = Balance=100 Where ID= 1
update accounts set balance = balance=100 Where ID = 2
Commit Transaction
Print ' Transaction Committed '
End Try
Begin CATCH
Rollback Transaction
Print ' Transaction Rolled back '
End CATCH