About 3,680,000 results
Open links in new tab
  1. How to rollback or commit a transaction in SQL Server

    Feb 22, 2013 · The good news is a transaction in SQL Server can span multiple batches (each exec is treated as a separate batch.) You can wrap your EXEC statements in a BEGIN …

  2. sql server - SQL Transaction was deadlocked - Stack Overflow

    Sometimes I get this kind of exception on not very busy SQL server: Transaction (Process ID 57) was deadlocked on lock resources with another process and has been chosen as the …

  3. What is the difference between a query and transaction in SQL?

    Apr 23, 2021 · A simple explanation would be like this Query is a single instruction like SELECT, UPDATE, DELETE etc and transaction is group of query to perform particular task in case of …

  4. Correct use of transactions in SQL Server - Stack Overflow

    Apr 14, 2012 · Shouldn't BEGIN TRANSACTION [Tran1] be placed inside TRY? Anyway - very simple and elegant piece of code.

  5. What does a transaction around a single statement do?

    Jul 23, 2009 · BEGIN TRANSACTION / COMMIT "extends" this locking functionality to the work done by multiple statements, but it adds nothing to single statements. However, the database …

  6. c# - How to use TransactionScope properly? - Stack Overflow

    Aug 19, 2015 · The code within the methods you call need to be transaction aware and enlist in the active transaction. This means creating or using classes which are resource managers …

  7. sql - Transaction count after EXECUTE indicates a mismatching …

    Feb 21, 2014 · But when I call The second stored procedure as: Exec USPStoredProcName I get the following error: Transaction count after EXECUTE indicates a mismatching number of …

  8. The transaction log for the database is full - Stack Overflow

    I have a long running process that holds open a transaction for the full duration. I have no control over the way this is executed. Because a transaction is held open for the full duration, whe...

  9. How do you clear the SQL Server transaction log?

    Sep 11, 2008 · The transaction log contains a lot of useful data that can be read using a third-party transaction log reader (it can be read manually but with extreme effort though). The …

  10. Spring @Transactional - isolation, propagation - Stack Overflow

    Dec 13, 2011 · Transaction Isolation and Transaction Propagation although related but are clearly two very different concepts. In both cases defaults are customized at client boundary …

Refresh