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

  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. How does a large transaction log affect performance?

    Apr 22, 2021 · A larger transaction log file in itself if not detrimental to performance as SQL server writes to the log sequentially, so provided you are managing your overall log size and allocation of …

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

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

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

  10. Row was updated or deleted by another transaction (or unsaved-value ...

    optimistic locking consists in detecting that another transaction has updated/deleted the same row, and throwing the exception you're getting in this case. If you have a version field, you're already using …