SQL Server Science

Technical Articles for the DBA / Developer

Home

The Inequality Filter That Drops Your NULL Rows

2026-09-20 · by Hannah Vernon · in t-sql

A WHERE inequality drops rows where the column is NULL, because the comparison is UNKNOWN. When to add OR col IS NULL, and when not to.

NOT IN With a NULL Returns Nothing

2026-09-19 · by Hannah Vernon · in t-sql

One NULL in a NOT IN subquery makes the whole predicate UNKNOWN and returns zero rows. Why it happens and how NOT EXISTS fixes it.

The MERGE That Would Not Update: A NULL in Your Change Detection

2026-09-18 · by Hannah Vernon · in t-sql

A MERGE upsert skips a NULL-to-value change and updates nothing, with no error. The three-valued-logic cause and two NULL-safe fixes.

Can You Delete That Certificate? The Store Will Not Tell You.

2026-09-17 · by Hannah Vernon · in security

There is a certificate in LocalMachine\My on one of your SQL Servers. Nobody knows what it is for. The subject is unhelpful, it was issued before you started, and the person who installed it has…

Your Agent Forgets Everything. I Measured What I Forgot to Write Down.

2026-09-16 · by Hannah Vernon · in AI for DBAs

An agent session ends and the context is gone. Everything it learned about your environment, every approach it tried and discarded, every decision you talked through together, and whatever it was about to do next….

A Plan Analysis Skill That Refuses to Let You Cite Cost

2026-09-15 · by Hannah Vernon · in AI for DBAs

I have been testing the rules in my own T-SQL style guide against real instances, which means reading a lot of execution plans. Partway through, I started using Erik Darling’s sqlserver-query-plans plugin[1] for the reading….

1 2 … 55 Next »

Search

Categories

  • AI for DBAs
  • announcements
    • events
  • basics
    • localization
  • configuration
  • Data Architecture
  • DMVs
  • documentation
  • extended-events
  • Git for DBAs
  • High Availability
  • Hot Takes
  • Internals
  • maintenance
    • patching
  • Opinion
  • performance
  • PostgreSQL
  • Professional Development
  • recovery
  • reporting
  • ROLLBACK;
  • security
    • data security
  • service broker
  • SQL Server Agent
  • statistics
  • sys
  • t-sql
    • xml
  • tools
    • data masking
    • wsus
  • troubleshooting
  • Uncategorized

Pages

  • About SQL Server Science
  • Get Better Help with a Minimal, Complete, and Verifiable Example, or MCVE
  • Privacy Policy

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.

To find out more, including how to control cookies, see here: Cookie Policy

Copyright © 2026 SQL Server Science