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

Logins, SIDs, and Kerberos from First Principles, Part 4: Scripting Every Permission a Principal Holds

2026-08-13 · by Hannah Vernon · in configuration, security

moved logins between servers with their SIDs and passwords intact. That gets a principal through the front door; it says nothing about what the principal can do once inside. Permissions live in a different set…

Logins, SIDs, and Kerberos from First Principles, Part 3: Migrating Logins Without Losing Them

2026-08-12 · by Hannah Vernon · in configuration, security

Server migrations have a predictable failure mode: the databases restore perfectly, the application connection strings are updated, and then nothing can log in. Or worse, everything can log in but half the database users are…

What Reaches Outside Your Database? sys.dm_db_uncontained_entities

2026-07-26 · by Hannah Vernon · in DMVs

Every database likes to pretend it is self-contained. Then you restore it onto another instance and discover the stored procedure that queries a sister database, the synonym pointing at a linked server, the login-mapped user…

Can You Actually Downgrade to Standard Edition? Ask the Database First

2026-07-11 · by Hannah Vernon · in configuration

Since SQL Server 2016 SP1, sys.dm_db_persisted_sku_features over-reports edition features. How to read it before downgrading to Standard.

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.

Post-Migration Validation with AI-Generated Test Scripts

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

Generate post-migration validation scripts with AI row counts, checksums, permissions, and automated smoke tests.

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