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
Figure showing flawed data going in and a fluent, confident answer coming out.

Garbage In, Confidence Out: Data Quality for AI

November 26, 2026
Pinal Dave
AI
AI, AI Book, Data Observability, Database
Part nine of ten. Every data professional knows garbage in, garbage out. AI adds a twist: the garbage comes out polished, fluent and sure of itself. This is the chapter where your years of data work become the advantage. 1. Why does data quality matter more with AI? Because AI…
Read More
Five identical test rigs on a laboratory bench, each holding a printed query, photographed in the flat even light of a product test.

Paging in SQL Server: Five Methods, Tested Like for Like

November 25, 2026
Pinal Dave
SQL Performance
Execution Plan, SQL Cursor, SQL Paging, SQL Performance, SQL Scripts

Paging in SQL Server, done five ways against the same 1,200,000 rows, the same sort, and the same page size. Every completed method produced the same checksum at each depth, which checks consistency without proving row-by-row equality. Then I counted the reads.

Read More
A rural town sign says POP. 4,212 with GIVE OR TAKE underneath, illustrating an approximate row count.

The Fastest Way to Count Rows in SQL Server: I Asked Ten DBAs

November 24, 2026
Pinal Dave
SQL Performance
SQL Index, SQL Performance, SQL Server

The fastest way to count rows in SQL Server depends on your goal. Compare COUNT, narrow indexes, and approximate metadata counts.

Read More
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
Two possible restore routes made of FULL, DIFF and LOG backup cards; the target time is 10:42.

One Restore Route: The Sunday Backup Puzzle

November 22, 2026
Pinal Dave
SQL Puzzle

One restore route reaches the target time of 10:42. Compare two simplified backup chains and choose the right one.

Read More
Cardinal Rules, a three panel cartoon by SQLAuthority. The red bird says it tested the query and it was instant. Sam asks on how many rows and the bird says ten. The production counter reads forty million and the bird says ten rows agree with everybody.

AI Tested It on Ten Rows and Called It Fast

November 21, 2026
Pinal Dave
AI
AI, Execution Plan, SQL Performance, Testing

AI tested it on ten rows, timed it, and called it lightning. Production has forty million rows and a different opinion.

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
Figure about deciding what leaves the room before the prompt does.

Privacy and AI: What Leaves the Room

November 19, 2026
Pinal Dave
AI
AI, AI Book, Database, SQL Server Security
Part eight of ten. Every prompt is a small package leaving the building. This is what’s inside it, who can open it, and how to keep the wrong things at home. 1. What counts as personal data? Any information that identifies a person or can be linked to one. Names,…
Read More
The T-SQL crossword grid, fifteen squares by fifteen, with twenty four numbered starting squares and the black squares filled in.

T-SQL Crossword: 24 Clues, Answers Next Week

November 18, 2026
Pinal Dave
SQL Puzzle
SQL Function, SQL Humor, SQL Scripts, SQL Training

A T-SQL crossword with a real grid and 24 clues. Every answer is a word you have typed, or a word that has typed you. Answers next week, in the comments if you cannot wait.

Read More
Tilt-shift miniature photo of an antique brass calculating machine inside a glass museum case behind a red velvet rope, with a large magnifying glass looking in without touching it

Claude on SQL Server FAQ: 7 Questions Teams Ask Me

November 17, 2026
Pinal Dave
AI
AI, Best Practices, SQL Performance, SQL Server Security

This Claude on SQL Server FAQ answers the seven questions teams ask me before we set up the read, prove, then change loop. It covers safety, customer data, staging, team time, mistakes, the role of the DBA and how soon a result shows up.

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

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