
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...
How do I use transaction with oracle SQL? - Stack Overflow
Feb 3, 2016 · I am trying to use transaction blocks on a SQL-Console with an Oracle DB. I'm used to use transaxction blocks in PostgreSQL like BEGIN; <simple sql statement> END; but in …
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 …
Correct use of transactions in SQL Server - Stack Overflow
Apr 14, 2012 · I have 2 commands and need both of them executed correctly or none of them executed. So I think I need a transaction, but I don't know how to use it correctly. What's the …
SQL Server BEGIN/END vs BEGIN TRANS/COMMIT/ROLLBACK
Feb 10, 2016 · "BEGIN initiates a transaction block, that is, all statements after a BEGIN command will be executed in a single transaction until an explicit COMMIT or ROLLBACK is …
Proper way to use a transaction around multiple inserts or updates
Apr 24, 2012 · What is the proper way to test for insert/update failures and rollback this transaction if there are any? I don't think what I have will work since my inserts/updates are 3 …
How to check active transactions in SQL Server 2014?
Aug 12, 2015 · DBCC OPENTRAN displays information about the oldest active transaction and the oldest distributed and nondistributed replicated transactions, if any, within the transaction …
Database.BeginTransaction vs Transactions.TransactionScope
TransactionScope offer broader options, BeginTransaction has a simpler API TransactionScope allows to customize the transaction timeout, support nested transactions with various …
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 …
Sql server - log is full due to ACTIVE_TRANSACTION
May 23, 2014 · Msg 9002, Level 17, State 4, Line 1 The transaction log for database 'MyDb' is full due to 'ACTIVE_TRANSACTION'. and it did not delete a thing. What does that message …