SQL Server Science

Technical Articles for the DBA / Developer

Home

Upgrading Database Compatibility Levels Across a Whole Instance

2026-06-20 · by Hannah Vernon · in configuration

The instance upgrade went perfectly. You moved from SQL Server 2019 to 2022, the installer turned green, the services came back up, and the application connected on the first try. A week later someone asks…

Why Resource Governor Ignores Your SQL Server Agent Job Owner

2026-06-19 · by Hannah Vernon · in SQL Server Agent

You did everything right. Resource Governor is configured, you have a workload group that caps CPU and memory so one runaway job cannot starve everything else, and you have a classifier function that reads the…

IS DISTINCT FROM: Comparing NULLs Without the Headache

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

It usually shows up in a code review. Someone writes a filter that is supposed to exclude voided rows, it looks completely reasonable, and yet a tester swears that records are going missing. The query…

Self-Contained Transaction Scripts in SQL Server: the @debug_only Pattern

2026-06-17 · by Hannah Vernon · in t-sql

A safer alternative to the commented-out COMMIT habit: a @debug_only flag, SET XACT_ABORT ON, a named transaction, and an XACT_STATE guard that never leaves a transaction open.

COMMIT, ROLLBACK, and Autocommit: PostgreSQL Transactions for SQL Server DBAs

2026-06-16 · by Hannah Vernon · in PostgreSQL

SQL Server DBAs lean on the ‘run to the SELECT, then COMMIT or ROLLBACK by hand’ workflow. PostgreSQL’s autocommit, abort-on-error, and plpgsql change the rules. Here is how to get the same safety and diagnostics in psql and pgAdmin.

A Decision Framework (and When to Stop Arguing)

2026-06-15 · by Hannah Vernon · in Data Architecture

This is the finale of the “Where Does Business Logic Live?” series. Over five posts we have looked at , the , the , the reality, and the . Now let’s make it actionable. This…

1 2 … 40 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
  • 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