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
A fridge door standing open at night, its light spilling across an empty kitchen

SET XACT_ABORT ON: Stopping Timeouts From Leaving Open Transactions

April 7, 2014
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Lock, SQL Server, SQL Transactions

Use SET XACT_ABORT ON to prevent client timeouts from leaving transactions and locks open, with TRY CATCH and a sleeping-session query.

Read More
Two pairs of hands on either end of a long crosscut saw, halfway through a fallen tree trunk.

MSDTC and Distributed Transactions Across Linked Servers

March 11, 2014
Pinal Dave
SQL Tips and Tricks
Linked Server, SQL Error Messages, SQL Server, SQL Server Configuration, SQL Transactions

Understand MSDTC for linked-server transactions, inspect RPC promotion settings, diagnose coordination errors, and compare simpler designs.

Read More
A chalk line reel beside a persistent blue mark and cord ready for another snap

The Outbox Table: Publishing Changes Reliably From a Transaction

March 4, 2014
Pinal Dave
SQL Tips and Tricks
Output Clause, SQL Lock, SQL Transactions

Orders commit and the message vanishes? Save both in one transaction, then let a worker claim, send and retry with a lease. Duplicates are still possible.

Read More
A hand pressing a crossing button again, its small red wait lamp already glowing, a bicycle at the curb

Idempotent Deployment Scripts: Safe to Run Twice

January 31, 2014
Pinal Dave
SQL Tips and Tricks
Best Practices, DevOps, SQL Scripts, SQL Server, SQL Transactions

Build idempotent deployment scripts with guarded schema changes, versioned data fixes, and repeat-run checks for the intended state.

Read More
A finger pressing an already glowing lift call button a second time beside a closed brass lift door.

Stopping Duplicate API Requests With an Idempotency Key Table

January 28, 2014
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Constraint and Keys, SQL Server, SQL Transactions

Store an idempotency key with its order in one transaction, return the committed result on retries, and define key reuse and expiry rules.

Read More
SQL SERVER - Identify Oldest Active Transaction with DBCC OPENTRAN

SQL SERVER – Identify Oldest Active Transaction with DBCC OPENTRAN

January 19, 2014
Pinal Dave
SQL Tips and Tricks
SQL Transactions

How do you know if there is an open transaction before you restart a server? DBCC OPENTRAN shows the oldest active transaction in your database.

Read More
Gouache painting of four identical small lighthouses on four islands along a calm coast, joined by thin wooden footbridges, all four lights glowing the same color, one lighthouse with a vermilion roof, in soft evening light.

What Is NewSQL? Distributed SQL Databases Explained

October 14, 2013
Pinal Dave
SQL Tips and Tricks
ACID, Database, SQL High Availability, SQL Transactions

What is NewSQL? It’s the name for relational databases that spread data over many servers and still give you SQL and ACID transactions. This post walks one orders table through key ranges, replicas and a majority vote.

Read More
Previous 1 … 4 5 6 7 8 9 10 … 15 Next
  • Books
  • Testimonials
  • Privacy Policy

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