SQL Server is changing.
AI is changing how we work with databases.
I spend my time exploring where the two meet.
Here you will find:
SQL Server performance tuning
Query tuning and troubleshooting
Practical AI ideas for DBAs
Real-world scripts and demos
Lessons from actual performance problems
No hype. No fluff.
Just practical learning around SQL Server, performance, and AI.
Follow if that is your kind of content.
An AI-written query ran without an error. Its result was 28 times too large. If you’re preparing for a data interview, bring a story about how you checked the answer. That’s the part of the job I’d practise. https://t.co/VQLhzwG5Bp
What does RSI mean? A trader sees the relative strength index. A doctor thinks of repetitive strain injury. An AI researcher means recursive self-improvement. Same letters, three conversations. Here’s my guide to the AI terms people nod along to. https://t.co/RLAU0ITbu7
SQL Server 2025 Parameter Sensitive Plan optimization did nothing for a table where one customer held 60 percent of the rows. Its own event said why: SkewnessThresholdNotMet.
Fourteen tables, one number decides it.
https://t.co/LpHXU11wuh
#SQLServer#SQLServer2025
Is your database ready for AI? Twelve questions, one point each, four results.
Two of the twelve are gates. If you fail those, no total makes you ready.
Take the quiz:
https://t.co/p4B9OCUldt
#AI#SQLServer
AI made the server cook Thanksgiving twice. Reheat the plan. Recompile the one procedure that hurts, never the whole server.
Cardinal Rules, a Saturday cartoon about AI and databases.
https://t.co/AmFRcb6WJg
#SQLServer#AI
Paging in SQL Server, five methods, same 1,200,000 rows. At page 20,000 keyset read 159 pages. OFFSET/FETCH read 3,064,485. Double TOP did not finish in 120 seconds.
https://t.co/QXDZGHvIDD
#SQLServer#performance
COUNT(*) and COUNT(1) do the same work, 324 reads each in my test. Counting a column that allows nulls answers a different question.
I asked ten DBAs how to count rows and got five answers.
https://t.co/FxPPqXAwos
#SQLServer#Performance
Same 500,000 orders. Same 90-day revenue report. The AI-designed schema took 7,624 logical reads. The revised one took 3,540. Before you ship an AI-generated table, ask what it will look like in year three. https://t.co/gSysP1zZAL
Same 500,000 orders. Same 90-day revenue report. The AI-designed schema took 7,624 logical reads. The revised one took 3,540. Before you ship an AI-generated table, ask what it will look like in year three. https://t.co/gSysP1Axqj
Sunday puzzle: Can you get from S to R on a 6×6 grid? Move one square at a time, up, down, left or right, without crossing a wall. Exactly one route works. See if you can trace it before you peek at the answer. https://t.co/YpaEWafb2f
A sort in my SQL Server 2025 lab expected 50 rows. It got 200,050 and spilled 566 pages to tempdb. That’s one stop on my tour of tempdb’s four regions. Here’s the map. #SQLServer https://t.co/kGqKjuJhJh
A sales feed fails. An AI summary confidently reports that the region had zero sales.
Five interview questions on data quality for AI, plus a five-minute exercise you can try on six customer entries.
https://t.co/URPABne0yU
#DataQuality#AI
The query was instant. Then Sam asked, "On how many rows?"
Ten rows can hide a repeated scan that gets expensive at 40 million.
https://t.co/yz2hVHcu1w
#SQLServer#QueryTuning
Technical debt used to grow only as fast as people could type. AI removed that limit, and nobody set a credit limit.
The code looks clean, passes review and ships. The debt hides in code nobody has read.
https://t.co/YRszgEBWp0
#AI#TechnicalDebt
Every AI prompt is a small package leaving the building. What is inside it, who can open it, and how do you keep the wrong things at home?
Privacy and AI interview questions:
https://t.co/f5MnP49jBF
#AI#DataPrivacy
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.
Print it, grab a pencil, argue with a colleague. Answers next week.
https://t.co/f08abI5ay0
#SQLServer#TSQL
Is it safe to let Claude near SQL Server production?
Yes, as long as production only ever sees Claude's reads. The guardrail is the login, not the prompt.
The 7 questions teams ask me before we build the loop:
https://t.co/iPwJefSO1P
#SQLServer#ClaudeAI
A bare "Hi" is ringing the doorbell and standing quietly on the porch.
Keep the hi. Put your question right after it, before you press send.
A greeting is not a conversation, it is a doorbell, so say why you rang.
https://t.co/ZgqojOnkvO
Sunday puzzle: one pile of overlapping data pages. How many sheets are really there?
Count the sheets, not the coloured patches.
Answer on the blog:
https://t.co/3VxtxNgJNU
#SQLServer#Puzzle
AI ran the query in two seconds and every number came back wrong.
"It ran" is the weakest test we have.
Check one row you know by heart, then check the total against something older.
https://t.co/DHjk1znrdx
#SQLServer#AI