About 51 results
Open links in new tab
  1. sql - Transaction count after EXECUTE indicates a mismatching number …

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

  2. concurrency - What is a database transaction? - Stack Overflow

    May 1, 2023 · A transaction is a unit of work that you want to treat as "a whole." It has to either happen in full or not at all. A classical example is transferring money from one bank account to another. To …

  3. Getting "Lock wait timeout exceeded; try restarting transaction" even ...

    mysql> update customer set account_import_id = 1; ERROR 1205 (HY000): Lock wait timeout exceeded; try restarting transaction I'm not using a transaction, so why would I be getting this error? I …

  4. 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 transaction log is …

  5. Transaction marked as rollback only: How do I find the cause

    Oct 11, 2013 · Participating transaction failed - marking existing transaction as rollback-only So I just stepped through my code to see where this line is generated and found that there is a catch block …

  6. sql server - SQL Transaction Error: The current transaction cannot be ...

    Aug 28, 2015 · I'm having a similar issue to The current transaction cannot be committed and cannot support operations that write to the log file, but I have a follow-up question. The answer there …

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

    BEGIN TRANSACTION / COMMIT "extends" this locking functionality to the work done by multiple statements, but it adds nothing to single statements. However, the database transaction log is …

  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. "This SqlTransaction has completed; it is no longer usable ...

    Jun 15, 2011 · { return transaction.Connection.Query<T>(command, new DynamicParameters(param), transaction, commandType: CommandType.StoredProcedure); } } } It looks as though the outer …

  10. postgresql - PSQLException: current transaction is aborted, commands ...

    May 1, 2012 · Stay being in a transaction, but when you detect that the first SQL has failed, either rollback/re-start or commit/restart the transaction. Then you can continue failing as many SQL …