Tag: SQL Server Management Studio (SSMS)
SSMS
SSMS, SQL Server Management Studio, is the standard application that we use to run queries and administer instances of SQL Server. The Microsoft Documentation and links to download can be found here – Download SSMS My blog posts with the SQL Server Management Studio (SSMS) Tag may help guide you through common configuration tasks and/or…
SSMS Silent Install
This is a note on how to silently install SQL Server Management Studio (SSMS) via command (PowerShell). SSMS is a tool most people use to administer SQL Server and to run SQL queries. If you need to install SSMS many times or on multiple computers, you may want to use the silent installation feature when…
SSMS Maximum Characters Displayed
By default, the max number of characters displayed in a single column of a query in SSMS when outputting as text is 256 characters. We can amend our query outputs in SSMS to Results to Text, rather than the default grid layout. This can be done by clicking the top bar menu button as shown…
SSMS Show Line Numbers
This post contains a guide on how to show line numbers in the SSMS query window. Useful if you want to see line numbers while you code. As well as general preference, enabling line numbers in SQL Server Management Studio is particularly useful when debugging an error message in a SQL script. The demo below…
How to Connect to SQL Server with a Different Domain User Account
This post is a guide on how to connect to SQL Server with Windows Authentication, but using a different Domain User rather than your own. The regular Windows SQL Server User connects & runs their queries via SQL Server Management Studio (SSMS). If you’re in a corporate environment, you’ll likely be logged into your computer…
USE Command in SQL Server
USE [database] in SQL Server is a way to change the context to a specific database when you are running a query in Microsoft SQL Server. When you log into SQL Server using SQL Server Management Studio (SSMS), your database context will be automatically set to your default database which was set during the creation…
Change Default Database in SQL Server
When you log into SQL Server using SQL Server Management Studio (SSMS), opening a new query window will automatically scope you within the default database set when your user was created. If this isn’t explicitly set during creation it’ll be set to the master database which isn’t very convenient for users. DBA’s might have to…
Disk Usage by Top Tables Report in SQL Server
The Disk Usage by Top Tables Report in SQL Server is a quick way to get the sizes of all tables within a database. It’ll show all tables largest to smallest tables by total size on disk. If you notice that a database is growing larger in size, then you will want to know what…
Include Execution Trace Messages in SQL Server Error Logs
Logs are always important if you’re supporting systems. The SQL Server Agent has always been a heavily used tool in my experience, so writing execution trace messages to the logs might help investigate an issue one day. This guide follows the Microsoft Docs page – Write Execution Trace Messages to the SQL Server Agent Error…
Recent Posts
- How to Open SSMS as a Different Domain User
- Troubleshooting Database Mirroring Issues in SQL Server
- What’s New in SQL Server 2025
- Time To Revive This Blog
- How to Set Environment Variables in PowerShell
Categories
- AWS (5)
- DBA Stories (1)
- Linux (34)
- MySQL (5)
- Other (2)
- Postgres (7)
- PowerShell (48)
- RedShift (7)
- SQL Server (81)
- Windows Admin (64)
Tags
Active Directory (AD) AWS CLI CDC Certificates & Encryption Change Data Capture CSV Files Database Admin Database Backups Data Types Deleting Data Error Messages Featured Git Git Commands Git Log Installing SQL Server Linked Servers Linux Admin Measuring Databases MSSQL SPIDs NetFirewallProfile New-Item PowerShell PowerShell Create Folder PowerShell Delete Files PowerShell ForEach PowerShell Tips PowerShell Version Restoring Databases SQL Server Agent SQL Server ETL SQL Server Management Studio (SSMS) SQL Server Processes SQL Server Scripts SQL Tips SSH SSMS Tips Temp DB Windows Admin Windows Firewall WordPress Tutorials WSL WSL1 WSL2 WSL Ubuntu WSL Version