SQL Server Science

Technical Articles for the DBA / Developer

Home

The Case for Business Logic in Stored Procedures

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

This is the second post in the “Where Does Business Logic Live?” series. In I laid out the terms of the debate and split “business logic” into five different kinds of logic that behave very…

Where Does Business Logic Live? A DBA’s Field Guide

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

Ask three experienced engineers where business logic belongs and you will get four answers, two raised voices, and at least one person quoting a blog post from 2008. I have sat on both sides of…

Where Does Business Logic Live? A DBA’s Guide to the Stored-Procedures-vs-Application-Layers Debate

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

Few architecture questions generate more heat and less light than this one: should business logic live inside SQL Server stored procedures, or outside the database in application layers? Ask a room of developers and DBAs…

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…

Idempotent Data Patches in SQL Server: A Change Tracking Pattern for DACPAC Deployments

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

If you deploy your SQL Server databases with SSDT or DACPACs via SqlPackage, you have probably run into this problem: the schema deployment is repeatable, but the data patches are not. SSDT handles CREATE TABLE,…

Distributed Availability Groups: Architecture, Failover, and the Gotchas Nobody Mentions

2026-06-05 · by Hannah Vernon · in High Availability

A practical guide to SQL Server Distributed Availability Groups, covering architecture, failover mechanics, scripted runbooks, and the FileStream bug that TF 5597 fixes.

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