Category: Installation & Configuration
-
DBA Scripts: Get Instance Configuration Score
Get Instance Configuration Snapshot gives you every raw sp_configure setting; useful, but it doesn’t tell you which of those hundred-plus rows actually matter. This script is the graded version: 16 checks spanning memory, security, backups, integrity, and database settings, each scored PASS, WARN, or FAIL against practical best-practice thresholds, with the fix already written out.…
Written by
-
What’s New in SSMS 22 for DBAs
SQL Server Management Studio 22 is the current line, it sits on the Visual Studio 2026 shell, and it has been shipping updates roughly monthly. That cadence is genuinely new for SSMS, and it means “what’s new” is a moving target. This post is the DBA filter over the release notes: the changes that alter…
Written by
-
Installing Windows Terminal on Windows
Windows Terminal is the modern command-line application for Windows and supports PowerShell, Command Prompt, and WSL in a single interface. On recent versions of Windows (Windows 11 and newer), Windows Terminal is installed by default. If it’s already available on your system, no installation is required. If it isn’t installed, or you’re working on older…
Written by
-
Use Git in SSMS to Version Control Your DBA Scripts
Every DBA has a scripts folder. Most of them live dangerously: a directory on a jump host, copies of copies, a blocking_check_v2_FINAL.sql that is not the final version. Since SSMS 21 the fix has been built into the tool you already have open: native git support, no extra install, working against GitHub or Azure DevOps.…
Written by
-
GitHub Copilot in SSMS: Setup, and What a DBA Should Let It Do
GitHub Copilot became generally available in SSMS at 22.4.1, and most of what is written about it is either a sales page or a dismissal. Neither helps you decide what to actually do with an AI assistant inside the tool that holds your production connection strings. This post is the working answer: how to set…
Written by
-
Dark Mode and Themes in SSMS
Dark mode is what DBAs were hoping for in SQL Server Management Studio for a long time. Now we have it, and more: SSMS ships with a set of built-in themes, dark included, and switching between them is one menu click. A theme covers the query editor, Object Explorer and the results grid, though some…
Written by
-
SSMS Query Shortcuts: Run sp_whoisactive on a Hotkey
Press Ctrl+1 in a query window and SSMS runs sp_who. Press Ctrl+2 and you get sp_lock. Most people know those two exist and stop there, which means missing the actual feature: the mechanism behind them is configurable, and mapping your own diagnostic procedure to a hotkey is the cheapest productivity win in the tool. The…
Written by
-
DBA Scripts: Get Service Broker Health and Database Mail Queue
Two Messaging Systems That Run Quietly Until They Don’t Service Broker and Database Mail are both messaging infrastructure, and both are easy to forget. Database Mail itself runs on Service Broker in msdb, and it sits idle until something needs to send an alert. Neither gets attention until a message gets stuck. Service Broker Health…
Written by
-
DBA Scripts: Get Collation Conflicts and Cross-Database Dependencies
Check for Collation Mismatches and Dependencies Before a migration, rename, or decommission, run Get-CollationConflicts on the target instance and Get-CrossDatabaseDependencies in every database whose objects may reference the one being changed. The first compares online database collations with the server default; the second finds static references and synonyms, not dynamic SQL. Rerun after restores or…
Written by
-
DBA Scripts: Get CDC and Change Tracking
Two Features That Keep Growing When Cleanup Stops Change Data Capture and Change Tracking answer a similar question, “what changed and when,” for two different audiences: ETL and replication consumers for CDC, application sync and conflict detection for Change Tracking. They’re unrelated under the hood and they fail in different places. CDC’s capture job reads…
Written by
- Tune a Slow Query With Copilot in SSMS
- xp_readerrorlog: Read the SQL Server Error Log with T-SQL
- Cannot Drop Database Because It Is Currently in Use (Error 3702)
- Could Not Drop Login Because the User Is Currently Logged In (Error 15434)
- Set a Maximum Database File Size in SQL Server (MAXSIZE)
- SQL Server Activity Monitor in SSMS (and the Performance Dashboard)
- Backups & Recovery (18)
- DBA Scripts (154)
- High Availability (HA) (13)
- Installation & Configuration (60)
- Maintenance (25)
- Migration & Upgrades (14)
- Monitoring (10)
- Performance Tuning (38)
- Security (Encryption & Permissions) (25)
- Storage & Capacity (18)
- T-SQL Fundamentals (17)
- Troubleshooting (108)
- Wait Types (236)