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

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

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

  6. Sql server - log is full due to ACTIVE_TRANSACTION

    Jan 1, 2004 · Msg 9002, Level 17, State 4, Line 1 The transaction log for database 'MyDb' is full due to 'ACTIVE_TRANSACTION'. and it did not delete a thing. What does that message …

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

  8. The transaction log for database 'tempdb' is full due to 'ACTIVE ...

    Jul 25, 2017 · begin transaction drop table #allclasses commit transaction If you still cant delete it just check for zombie sessions with SELECT * FROM sys.dm_exec_sessions and kill it with …

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

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

Refresh