About 27,200,000 results
Open links in new tab
  1. 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...

  2. Nested transactions in Sql Server - Stack Overflow

    Jul 27, 2013 · Imagine the following scenario: I am using SQL Server 2005. I have a transaction that is calling, among other SQL statements, a stored procedure that also has a transaction …

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

    Feb 21, 2014 · Exec USPStoredProcName I get the following error: Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous …

  4. spring - Could not open JPA EntityManager for transaction; nested ...

    I am quite new to Spring and Spring-Batch in particular. Still I somehow managed to install the Spring Batch-Admin. I added custom jobs and Hibernate/JPA for persistence. Everything is …

  5. Sql server - log is full due to ACTIVE_TRANSACTION

    May 23, 2014 · 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 …

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

  7. Why can't I shrink a transaction log file, even after backup?

    Apr 23, 2009 · I have a database that has a 28gig transaction log file. Recovery mode is simple. I just took a full backup of the database, and then ran both: backup log dbmcms with …

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

  9. How to rollback a transaction in a stored procedure?

    Aug 25, 2016 · Looking at the SQL Server Books Online, Microsoft seems to have an (incorrect) method of handling nested transactions in a stored procedure: Nesting Transactions Explicit …

  10. What happens if you don't commit a transaction to a database …

    Feb 4, 2011 · As long as you don't COMMIT or ROLLBACK a transaction, it's still "running" and potentially holding locks. If your client (application or user) closes the connection to the …