Category: Installation & Configuration
-
SSMS Results Grid: Export to Excel, JSON and Markdown
For twenty years the way query results left SSMS was copy, paste into a spreadsheet, fix the columns the paste mangled. SSMS 22 quietly ended that: the results grid now saves straight to Excel, JSON, Markdown and XML, alongside the CSV it always had. Add the JSON viewer, independent grid zoom and data types on…
Written by
-
DBA Scripts: Get Database Snapshot Inventory
The Snapshot Everyone Forgot They Created A database snapshot is created for one specific reason, a pre-deployment rollback point, a reporting-consistency workaround, a test before a risky change, and then it just sits there. Snapshots don’t show up in a routine size check the way a growing data file does, but every snapshot is a…
Written by
-
SQL Server Builds: Complete Version List and Support Lifecycle
🔖 Living reference Every build number, KB and support date on this page comes from Microsoft’s official build and lifecycle pages, and the page is regenerated after each patch release. Filed under Server & Configuration This is the reference I keep open for every SQL Server environment I touch. One page with the latest build…
Written by
-
How to Get the SQL Server IP Address
The IP address and port SQL Server answered on are local_net_address and local_tcp_port in sys.dm_exec_connections. The firewall team, or a vendor, wants that exact pair before they will open an allow-list rule, and the server has more than one address: do not read it off ipconfig and do not assume 1433. ⚡On a TCP connection,…
Written by
-
Open SSMS as a Different Domain User
⚡Shift + right-click SSMS → Run as different user, or runas /netonly /user:DOMAIN\user “path\to\Ssms.exe”. Use /netonly when the account is in another domain or is not allowed to log on to this machine. You need to connect to SQL Server as a different Windows account: to test a new AD login’s permissions, to reach an…
Written by
-
Check SQL Server Connection Encryption and Protocol
Modern SQL Server environments often use encrypted connections by default, but that does not always mean what people think it means. When troubleshooting connectivity problems, certificate errors, performance questions, or unexpected client behaviour, DBAs usually need to answer one very specific question: What protocol and encryption is this connection actually using right now? This post…
Written by
-
sqlcmd Examples for SQL Server
No SSMS on the box, or SSMS will not connect, and you need to run a query or a script file from a shell right now. sqlcmd does that from Command Prompt, PowerShell or a Linux shell. On any current install it also refuses the first connection with a certificate error until you add -C,…
Written by
-
Install and Update SQL Server Management Studio (SSMS)
SQL Server Management Studio (SSMS) is the primary management tool for SQL Server and Azure SQL. What changed in recent releases is not how it looks but how it installs, updates and connects: it ships through the Visual Studio Installer, updates every 1 to 2 weeks, and applies stricter encryption defaults by design. If you…
Written by
-
SQL Server Default Ports
Something cannot connect, or the firewall team wants a port number before they will open anything. Both questions have the same answer, and it is not a guess: ask the instance what it is listening on. TCP 1433 is right on a default instance nobody has touched, and it stops being right as soon as…
Written by
-
Enabling TCP Connections in SQL Server
A remote client cannot connect and the instance is running. The application reports Named Pipes Provider, error: 40 or SQL Network Interfaces, error: 26, and the first thing to rule out is the server not listening on TCP/IP at all. ⚡TCP/IP is a server setting that only takes effect when the SQL Server service restarts.…
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)