SQL Server Science

Technical Articles for the DBA / Developer

Home

Auditing Linked Server Security: Who Connects as Whom

2026-11-08 · by Hannah Vernon · in security

A linked server login mapping can let every login run as one remote login. Tests on SQL Server 2025 and an audit query to find the risky mappings.

Idempotent SQL Server Agent Job Deployment Across Many Instances

2026-11-07 · by Hannah Vernon · in SQL Server Agent

Why the scripted job fails on a second run, a deploy script you can rerun on every instance, and a query that finds job drift.

THREADPOOL Waits: Reproducing Worker Thread Exhaustion in SQL Server

2026-11-06 · by Hannah Vernon · in troubleshooting

Reproducing THREADPOOL waits on SQL Server 2019: how max worker threads is sized, what new logins see, and finding the blocker through the DAC.

Testing AI-Generated DDL Against the Rules It Was Given

2026-11-05 · by Hannah Vernon · in AI for DBAs

I asked an AI coding agent for CREATE TABLE DDL from a plain-English spec, then tested every rule on SQL Server 2019 and 2025. Several weren’t enforced.

Turning a Folder of DBA Scripts into a PowerShell Module

2026-11-04 · by Hannah Vernon · in tools

Package one-off DBA PowerShell scripts as a module: .psm1, .psd1 manifest, explicit exports, PSModulePath and side-by-side versions, tested in 5.1 and 7.

Trigger Archaeology: Mapping Nested and Recursive Trigger Chains

2026-11-03 · by Hannah Vernon · in t-sql

Map which SQL Server trigger writes to which table before you change a legacy schema, and see what happens at the 32-level nesting limit.

1 2 … 63 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
  • Blog Series
    • Backup & Recovery from First Principles: Series Contents
    • Database as a Versioned Contract: Series Contents
    • Extended Events in Production: Series Contents
    • Git for DBAs: Series Contents
    • How SQL Server Stores Data: Series Contents
    • Logins, SIDs, and Kerberos from First Principles: Series Contents
    • Proving the Restore: Series Contents
    • T-SQL Style Guide, Tested: Series Contents
    • The UNKNOWN Problem: NULL Traps in T-SQL, Series Contents
    • Undocumented Changes in SQL Server 2022 and 2025: Series Contents
    • Work That Flows: Kanban for DBAs: Series Contents
  • 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