SQL Server Science
Technical Articles for the DBA / Developer
Home » powershell

DAG Failover Toolkit: Scripted Distributed AG Failovers with Validation Gates

2026-06-07 · by Hannah Vernon · in Internals

In a previous post, we looked at how Distributed Availability Groups work, why the failover syntax says FORCE_FAILOVER_ALLOW_DATA_LOSS, and what a scripted runbook should cover. This post introduces the toolkit that puts all of that…

Schedule Jobs in Azure SQL Database with Azure Functions

2026-05-28 · by Hannah Vernon · in configuration, tools

You don’t get SQL Server Agent in Azure SQL Database. If you’ve been a DBA for any length of time, that sentence probably made you twitch. Agent is the workhorse that runs your index maintenance,…

The psqlODBC Driver Is Eating Your RAISE NOTICE Messages

2026-05-19 · by Hannah Vernon · in troubleshooting

I just spent two days debugging a problem where my PowerShell script was logging 900 lines of output instead of 150. The script worked fine for months. Then someone added more tables to the process,…

I Shaved 156 MB Off My Blog by Converting PNGs to WebP

2026-05-18 · by Hannah Vernon · in tools

I just shaved 156 MB off my blog. Not the database, not the theme, not some plugin audit. The images. The Problem Nobody Talks About If you use AI to generate featured images for your…

SQL Server Patching Pre/Post Checks with AI

2026-04-23 · by Hannah Vernon · in AI for DBAs

Generate matched pre-patch and post-patch validation scripts with AI for safe SQL Server patching.

Smart DBCC CHECKDB Scheduling with AI

2026-04-23 · by Hannah Vernon · in AI for DBAs

Build intelligent CHECKDB scheduling with AI size-based estimates, window optimization, and corruption alerting.

1 2 Next »

Search

Categories

  • AI for DBAs
  • announcements
    • events
  • basics
    • localization
  • configuration
  • DMVs
  • documentation
  • extended-events
  • Git for DBAs
  • Hot Takes
  • Internals
  • maintenance
    • patching
  • Opinion
  • performance
  • 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