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
Two identical query windows side by side on one monitor, both with the same colour scheme, one of them with a cursor blinking after the word REPLACE.

Restore Database Mistake: I Learned About Databases From That

November 10, 2026
Pinal Dave
SQL Tips and Tricks
Career Advice, SQL Backup and Restore, SQL Error Messages, SQL Scripts

A restore database mistake, in the first person, minute by minute. This is a composite of three near misses I have been close to, with the details changed. The error message is real, and so is every rule at the end.

Read More
A zodiac wheel drawn in the style of a magazine astrology page, but the twelve segments hold execution plan operator icons instead of star signs.

Execution Plan Operators: Your Query’s Horoscope for the Month

November 9, 2026
Pinal Dave
SQL Tips and Tricks
Execution Plan, SQL Humor, SQL Index, SQL Performance

Execution plan operators, twelve of them, read the way the back page reads the stars. Find the one that rules your plan this month. Each sign comes with what it means and the one thing it’s asking you to check.

Read More
An open record book with a gold edged page, one entry highlighted, a small ribbon marking the place.

SQL Server Limits, Verified: Eleven Records Pushed to the Edge

November 4, 2026
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL Error Messages, SQL Index, SQL Scripts, Undocumented SQL

SQL Server limits, done the way a record book does them. Not what the documentation says, but what happened when I tried one more. Eleven records, each attempted on SQL Server 2025 build 17.0.4085.5, each with the exact error text at the edge. One documented figure turned out to be wrong on this…

Read More
A courtroom sketch in pastel, the witness stand holding a small stack of printed T-SQL, the gallery empty, no faces drawn.

SQL Server Triggers on Trial: The State Versus the Trigger

November 3, 2026
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL Scripts, SQL Trigger, Transaction Log

SQL Server triggers, tried in open court. The prosecution says they’re slow, hidden and wrong. The defence says they’re the only witness in the room. Four exhibits were measured on SQL Server 2025, and the judge rules at the end.

Read More
A recipe card on a kitchen counter, hand lettered, titled Slow Cooked Deadlock, with two small drawn pans facing each other.

SQL Server Deadlock, Slow-Cooked: A Recipe That Serves Two Sessions

October 28, 2026
Pinal Dave
SQL Tips and Tricks
Deadlock, SQL Error Messages, SQL Lock, SQL Scripts

A SQL Server deadlock, written up the way a recipe card is written. Ingredients, prep, method, and what to do when the sauce splits. It reproduces on SQL Server 2025 every time, and I have the timestamps and the deadlock graph to prove it.

Read More
Two side by side cartoon panels in a children's magazine style, one child at a keyboard with a mess of tangled cables, the other at a tidy desk, no faces shown.

T-SQL Mistakes: Careless and Careful Write the Same Six Queries

October 26, 2026
Pinal Dave
SQL Tips and Tricks
SQL Cursor, SQL Function, SQL NULL, SQL Performance, SQL Scripts

T-SQL mistakes, in the two-panel format the children’s magazines used. Careless writes it one way. Careful writes it the other. Every pair was run on the same 1,200,000 rows on SQL Server 2025 and measured. One pair returned a wrong answer. One I stopped after fourteen minutes of CPU.

Read More
Ink spot illustration of an opened letter lying flat with a brass letter opener across one corner and a glass inkwell beside it.

The SQL Advisor: Seven Answers, All Measured

October 19, 2026
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, Developer, SQL Server

The SQL Advisor answers seven letters with measurements instead of opinions. Table variables, what each index costs on insert, shrinking after a big delete, SELECT star, ORDER BY in a view, heaps, and whether the order of your WHERE predicates matters.

Read More
1 2 3 4 … 572 Next
  • Books
  • Testimonials
  • Privacy Policy

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