Category: Installation & Configuration
-
Tune a Slow Query With Copilot in SSMS
A slow query scanning 200,000 rows to return 18. Copilot in SSMS read the plan itself, found the implicit conversion and the non-sargable YEAR(), and gave a rewrite and an index. What worked, and what to check yourself.
Written by
-
Lock Pages in Memory (LPIM) in SQL Server: Check It, Enable It, and When Not To
CONVENTIONAL in sql_memory_model_desc means the service account does not hold Lock Pages in Memory. How to check it, when error 17890 says Windows is paging SQL Server out, why max server memory comes first, and how to grant it.
Written by
-
SQL Server Configuration Manager: Where to Find It and What a DBA Uses It For
Not in the Start menu? Open it by name: SQLServerManager17.msc. Where to find it for every version, and the jobs a DBA uses it for: service accounts, TCP/IP, ports and encryption.
Written by
-
Switch the GitHub Account Copilot Uses in SSMS
Copilot in SSMS signed in to the wrong GitHub account, or inactive? The switch is on your profile picture: Add another account, sign in, Set as active account, restart. Plus what the profile card and the Copilot badge are telling you.
Written by
-
GitHub Copilot Tools, Skills and MCP Servers in SSMS
Where GitHub Copilot keeps its tools, skills and MCP servers in SSMS, what each built-in tool group can do, which tools can change things, and how to add your own skills and servers.
Written by
-
SSMS Query Hint Recommendation Tool: Let SSMS Find the Hint
One slow query, no code change possible this week: SSMS 22 runs it with one hint after another and reports the hints that halve its time. How to run it safely and what to do with the answer.
Written by
-
Restrict What GitHub Copilot Can Run in SSMS (agentExecuteAsUser)
GitHub Copilot in SSMS runs every query with your permissions. Since SSMS 22.7 you can give it its own low-privilege identity per database: create the user, set agentExecuteAsUser in CONSTITUTION.md, grant IMPERSONATE. Tested, with the errors and the trade-offs.
Written by
-
SSMS SQL Formatter: Format T-SQL Without an Add-in
SSMS 22 formats T-SQL itself: Ctrl+K, Ctrl+Q formats the window or the selection, Ctrl+Z undoes it. What the defaults change, and the settings worth setting.
Written by
-
SSMS Schema Compare: Find What Differs Between Two Databases
Schema Compare in SSMS lists every difference between 2 databases as the change that would make the target match the source. How to run it, read the results the right way round, set the options that matter, and check the generated script before it touches production.
Written by
-
SSMS Schema Compare: Execution Timeout Expired During Population of Source Model
Schema Compare stops with Execution Timeout Expired when its catalog reads cannot get memory or are stuck behind a lock. Check the memory grant queue and whether Windows is short of RAM, then compare again or compare against a .dacpac.
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)