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
Cardinal Rules, a three panel cartoon by SQLAuthority. The red bird asks what Sam is reading. Sam holds up a book cover and the bird goes quiet. The bird protests that it is right here, and Sam says that is the part the book is about.

AI Sounds Like Someone, But Nobody Is in There

October 10, 2026
Pinal Dave
AI
AI, AI Book, Best Practices, SQL Humor

AI sounds like someone, which is exactly why the checking stops. Cardinal read the cover of my book and has not recovered.

Read More
Painting of five identical filing cabinets floating in dark space. Four are cold and sealed, one glows from a half-open drawer, and a brass plaque in front reads WHICH ONE IS REAL.

Text to SQL: The SQL Was Never the Hard Part

October 9, 2026
Pinal Dave
AI
AI, Best Practices, Database, Developer

Text to SQL works now, on real schemas, with joins and window functions. I watched three companies hand it to their business users, and all three quietly stopped. The SQL was never the hard part. The hard part is knowing which table is real and which meaning of the word you meant.

Read More
Figure showing that the model sees only what fits in its context window, and everything else is gone.

Tokens and the Context Window: Out of the Window, Out of Mind

October 8, 2026
Pinal Dave
AI
AI, AI Book, Best Practices, Professional Development
Part two of ten. Most of the surprises people hit with AI at work trace back to this one chapter. A model reads in tokens, holds only so many at once, and charges for each one. 1. What is a token? A token is the unit of text a model…
Read More
Diagram titled One row, one DELETE, five places it still lives. The left panel lists the row alive: a 284 byte log record before the commit, an address at 1 colon 392 colon 0, a checkpoint writing the page, and a backup copying it out. The right panel lists what remains after the delete: the ghost record still 184 bytes, log records, the statistics histogram that names the row, deallocated pages, and every backup.

The Migration of a Row: Tagged, Followed, Found Again

September 21, 2026
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, Developer, SQL Server

I followed the migration of a row through SQL Server 2025, from the first write to the grave. The log gets there before the table. The delete does not erase anything. And when the table is empty and the ghost is gone, the statistics histogram still names the row in full.

Read More
Five potted ferns drawing water through cotton wicks from a glass bowl, a hand testing the soil of the last pot

Holiday Change Freeze Checklist for SQL Server: What to Verify First

December 25, 2024
Pinal Dave
SQL Tips and Tricks
Best Practices, Change Data Capture, SQL Server

Use a change freeze checklist for SQL Server to verify backups, integrity checks, disk headroom, Agent jobs, and serious errors.

Read More
A groundskeeper pushing a line-marking cart across an empty field, painting the first boundary line.

Turning a Business Question Into a Query: Define the Metric First

March 1, 2024
Pinal Dave
SQL Tips and Tricks
Best Practices, Business Intelligence, SQL DateTime, SQL Reports, SQL Server

Turn a business question into a tested T-SQL metric with explicit time zones, cancellations, returns, and a hand-checked sample.

Read More
A caulking gun with a stuck cartridge holding up the work at its nozzle

Blocking Alert: A T-SQL Check for Sessions Blocked Too Long

September 6, 2023
Pinal Dave
SQL Tips and Tricks
Best Practices, Comprehensive Database Performance Health Check, SQL Server

Short blocking is normal. This check flags lock waits past a threshold and walks each chain to the session at the front of the line.

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

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