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

Proving the Restore, Part 14: Getting the Script Out of the Procedure

2026-09-05 · by Hannah Vernon · in recovery

The generator from builds a restore script into a variable. Getting it back out so someone can read it before running it seems like the easy part. PRINT @script returns the beginning of it. How…

Proving the Restore, Part 11: Generating the Restore Script

2026-09-02 · by Hannah Vernon · in recovery

Everything so far establishes that a set of backups is coherent: complete stripes, a matching differential base, an unbroken log chain, one lineage, and a reachable target time. Writing the restore statements from that point…

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,…

Four Prompts to an Impossible Tesseract

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

It’s Friday afternoon. I have an AI coding agent open (Claude, via the Copilot CLI), and I’ve been using Google’s Gemini to generate featured images for blog posts all week. So I decide to try…

“Now I Have the Full Picture” The Most Dangerous Lie Your AI Agent Tells You

2026-05-12 · by Hannah Vernon · in AI for DBAs, Hot Takes

AI agents confidently say “Now I have the full picture” but they can’t know what they’re missing. Here’s what can go wrong when you let an agent run things unsupervised.

Your AI Agent Is Quietly Corrupting Your SQL Files

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

AI agents writing T-SQL via PowerShell here-strings produce LF line endings, breaking SSMS and diffs.

1 2 3 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