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 drawn tables side by side. On day one the Orders table is six tidy columns that fit. In year three it is crowded with extra columns spilling off the edge, sticky notes reading temp fix 2024 and do not delete, and a crack across it.

AI Database Schemas: Good SQL, Tables That Age Badly

November 23, 2026
Pinal Dave
SQL Performance
AI, Best Practices, Database, Developer

AI database schemas look correct on the day they are written and hurt in year three. On a recent consulting engagement we changed five lines of a generated orders table. Here is the before and after, and what those five lines cost when I measured both on SQL Server 2025.

Read More
A vintage bank loan desk buried in paperwork, every application stamped APPROVED in red ink, with the in-tray overflowing onto the floor

Technical Debt at AI Speed: Nobody Set a Credit Limit

November 20, 2026
Pinal Dave
AI
AI, Best Practices, Developer, Software Development

Technical debt used to grow only as fast as people could type. AI coding assistants removed that speed limit, and the new debt looks clean enough to pass every review. These are the early warning signs, and what I’d tell leaders to do before the bill comes due.

Read More
A pull request printed on paper with a black and white nutrition facts panel stuck to it, photographed flat on a desk beside a pen.

AI-Generated Code: The Nutrition Label It Should Come With

November 11, 2026
Pinal Dave
AI
AI, Developer, Professional Development, Software Development

AI-generated code arrives without a label. Food does not. So here is the label, one serving being one pull request, and what to check before you swallow it.

Read More
Cartoon of a calm figure in a dark suit sitting for an interview, with a wall of hundreds of unlabelled filing drawers behind it.

The Query Optimizer Interview: Twenty Minutes, No Hints

October 21, 2026
Pinal Dave
SQL Performance
Best Practices, Developer, SQL Performance, SQL Server

The query optimizer sat down for twenty minutes and answered for itself. Why it ignored your index, why one procedure gets a plan built for the wrong caller, what it does when it cannot see your value, and the moment its own plan admits it stopped looking.

Read More
Illustration of a person seen from behind in a dark corridor, holding a folder, looking through wired glass into a lit meeting room where four other people are using it.

The Understudy: A Story About the Human in the Loop

October 20, 2026
Pinal Dave
AI
AI, Best Practices, Developer, Professional Development

Fiction. The understudy is the person paid to stay ready. Every night a system settles millions of payments in seconds. Four times a year one person does the same work by hand, on paper, against the clock, so that the ability to do it still exists somewhere in the building.

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
Profile card for PAGEIOLATCH_SH. Blamed for slow disks. Actually means the query is waiting for a page read to finish. Caused by scattered reads on a cold cache. What to do: look at the access pattern before you blame the storage.

Know Your Wait Types: Six Profiles, All Induced

October 16, 2026
Pinal Dave
SQL Performance
Best Practices, Developer, SQL Performance, SQL Server

I caused six wait types on purpose, one at a time, and measured each one for a single session. What each is blamed for, what it actually means, and the numbers it produced on SQL Server 2025. Wait types are the most misread figures in the product.

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

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