About 4,250,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. What is the difference between a query and transaction in SQL?

    Apr 23, 2021 · BEGIN TRANSACTION: Tell the database that a transaction is beginning. All changes within the transaction are invisible to other users while the transaction is "active". …

  3. 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 …

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

    Apr 14, 2012 · If one wants a "visually nested syntax" so to say, i.e. such that begin transaction is nested under begin try, then a condition should be added before rollback transaction, which is: …

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

    • A transaction is deferred (SQL Server 2005 Enterprise Edition and later versions only). A deferred transaction is effectively an active transaction whose rollback is blocked because of …

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

    Feb 21, 2014 · This was the problem for me, but was less obvious because we were wrapping several sproc calls in one big transaction via our data access layer-- so just looking at the …

  7. What is the use of @Transactional with JPA and Hibernate?

    Jan 23, 2019 · @Transactional annotation is used when you want the certain method/class(=all methods inside) to be executed in a transaction. Let's assume user A wants to transfer 100$ to …

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

    Sep 11, 2008 · By not making transaction log backups often enough, the online transaction log will become full and will have to grow. The default growth size is 10%. The busier the …

  9. sql server - How to use SqlTransaction in C# - Stack Overflow

    Its better this way since you made only one transaction to the database because database transactions are expensive hence your code is faster. Second of you really have to use a …

  10. How to start and end transaction in mysqli? - Stack Overflow

    Aug 23, 2012 · Using begin_transaction() You can start a one-time-only transaction using begin_transaction(). This does not set autocommit=false so when you call commit() you end …

Refresh