
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 …
Sql server - log is full due to ACTIVE_TRANSACTION
May 23, 2014 · In my case neither restarting SQL Server nor shrinking the database worked. The db was restored from a backup and I think something was wrong with backup itself. I ended up …
sql server - SQL Transaction was deadlocked - Stack Overflow
Sometimes I get this kind of exception on not very busy SQL server: Transaction (Process ID 57) was deadlocked on lock resources with another process and has been chosen as the …
The transaction log for database 'tempdb' is full due to 'ACTIVE ...
Jul 25, 2017 · @GiulioCaccin Thank you for the suggestion, but I ran a query on the transaction logs and the log space used for tempdb is only at 31%. The other inquiry you referred me to …
Row was updated or deleted by another transaction (or unsaved …
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 …
Report with tcodes utilization on per user & per date basis
Nov 24, 2017 · We want to create a report with Select Criteria DATE & USER and we display the Transactions that run per user & per date. I know the transaction ST03N but it does …
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 …
Isolation Level - Serializable. When should I use this?
Aug 12, 2010 · From MSDN regarding SET TRANSACTION ISOLATION LEVEL: SERIALIZABLE Places a range lock on the data set, preventing other users from updating or inserting rows …
writing a transaction in t-sql and error handling - Stack Overflow
Apr 6, 2017 · Do u think there is a better way to write a transaction in t-sql? Is there a better approach that improves maintainability and performance of the application that uses this …
c# - How to use TransactionScope properly? - Stack Overflow
Aug 19, 2015 · The code within the methods you call need to be transaction aware and enlist in the active transaction. This means creating or using classes which are resource managers …