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

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

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

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

  9. What is the difference between a query and transaction in SQL?

    Apr 23, 2021 · A simple explanation would be like this Query is a single instruction like SELECT, UPDATE, DELETE etc and transaction is group of query to perform particular task in case of money …

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