This month's discount Comprehensive Database Performance Health Check · Testimonials
SQLAuthority with Pinal Dave
Home
  • Consulting
    • Health Check
  • Free Videos
  • All Articles
    • AI
    • SQL Performance
    • SQL Tips and Tricks
    • Interview Questions and Answers
    • SQL Puzzle
    • SQL Video
    • SQLAuthority News
    • Personal
  • Books
  • Consulting
nested transaction

Nested Transactions are Myth – SQL in Sixty Seconds #125

September 25, 2020
Pinal Dave
SQL Video
SQL in Sixty Seconds, SQL Performance, SQL Scripts, SQL Server, SQL Transactions

Many sent me an email that they want to know more about the nested transactions. Let us learn about them in today’s blog post. 

Read More
Three nested frames surround one shared unfinished workpiece.

SQL SERVER – Finding Open Transactions for Session – @@TRANCOUNT

September 24, 2020
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Stored Procedure, SQL Transactions

To inspect Open Transactions for Session nesting on my connection, I use @@TRANCOUNT. It does not directly inspect another session.

Read More
A gardener seen from behind slowly rolling a long strip of turf back up across a lawn, most of it still flat.

KILL WITH STATUSONLY: How Long Will This Rollback Take?

April 9, 2020
Pinal Dave
SQL Tips and Tricks
DBA, SQL Server, SQL Transactions, Transaction Log

Read KILL WITH STATUSONLY rollback estimates, confirm the target session, avoid repeated kills, and account for accelerated recovery.

Read More
Title card: Msg 3910: Transaction Context in Use by Another Session

SQL SERVER – Linked Server Error – Msg 3910 – Transaction Context In Use By Another Session

February 19, 2020
Pinal Dave
SQL Tips and Tricks
Linked Server, SQL Error Messages, SQL Scripts, SQL Server, SQL Transactions

In this blog, I would share my understanding and the solution of Linked Server Error – Msg 3910 – Transaction context in use by another session.

Read More
A library trolley carrying a small stack of old books toward a basement stairway, a gap left on the shelf.

Archiving Old Rows to a History Table in Small Batches

February 3, 2020
Pinal Dave
SQL Tips and Tricks
Batch, Output Clause, SQL Delete, SQL Server, SQL Transactions

Make archiving old rows atomic with DELETE OUTPUT, preserved source identifiers, bounded batches, reconciliation, and a job time limit.

Read More
Corks pass a waterwheel in a steady stream, illustrating throughput

How to Measure Transactions Per Seconds in SQL Server? – Interview Question of the Week #262

February 2, 2020
Pinal Dave
SQL Interview Questions and Answers
SQL DMV, SQL Performance, SQL Scripts, SQL Server, SQL Transactions, Windows

Question: How to Measure Transactions Per Seconds in SQL Server?
I have updated the script for this for Comprehensive Database Performance Health Check.

Read More
A signalman's hand passing a brass single-line token in a hoop to a train driver's gloved hand.

Application Locks With sp_getapplock: One Job at a Time

November 15, 2019
Pinal Dave
SQL Tips and Tricks
SQL Lock, SQL Server, SQL Server Agent, SQL Stored Procedure, SQL Transactions

Use sp_getapplock to serialize a job, compare transaction and session ownership, handle return codes, and inspect a two-session test.

Read More
Previous 1 2 3 4 5 6 … 15 Next
  • Books
  • Testimonials
  • Privacy Policy

© 2006 – 2026 All rights reserved. pinal @ SQLAuthority.com