About 51 results
Open links in new tab
  1. 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 …

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

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

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

  5. t sql - When to use Transactions in SQL Server - Stack Overflow

    Transaction must be Atomic (it is one unit of work and does not dependent on previous and following transactions), Consistent (data is either committed or roll back, no “in-between” case …

  6. sql server - How to use SqlTransaction in C# - Stack Overflow

    There is an Update query in progress, the Transaction is started at a higher level on the connection. In order to ensure that all server data is in a valid state for the Update, I need to …

  7. Use transactions for select statements? - Stack Overflow

    May 12, 2011 · An application can perform actions such as acquiring locks to protect the transaction isolation level of SELECT statements This is a good use case for that since the OP …

  8. Difference between transactional and non-transactional

    Mar 11, 2016 · I think the best way to understand the difference between Transactional and Non-Transactional Data is through examples Non -Transactional (These information are relevant to …

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

  10. Getting "Lock wait timeout exceeded; try restarting transaction" …

    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 …