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

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

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

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

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

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

    Apr 14, 2012 · Add a try/catch block, if the transaction succeeds it will commit the changes, if the transaction fails the transaction is rolled back:

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

  10. WITH (NOLOCK) vs SET TRANSACTION ISOLATION LEVEL READ …

    Jul 18, 2014 · 12 You cannot use Set Transaction Isolation Level Read Uncommitted in a View (you can only have one script in there in fact), so you would have to use (nolock) if dirty rows should be included.