Recently, Microsoft announced the release of SQL Server Management Studio (SSMS) 21 and this version introduces something exciting for database professionals: Copilot integration.
Copilot is an AI-powered assistant built into SSMS 21 that can help write SQL queries faster, suggest optimizations, and assist with repetitive coding tasks. As a database administrator and SQL Server enthusiast, I was eager to try it out. In this blog, I’ll share my step-by-step process for integrating Copilot with SSMS 21 and how I use it to speed up my daily work.
Why SSMS 21 + Copilot Is a Game-Changer
Before SSMS 21, AI-powered code assistance wasn’t a built-in feature for SQL developers. Now, with Copilot, we can:
-
Get instant SQL query suggestions.
-
Receive performance improvement tips.
-
Generate T-SQL scripts quickly and accurately.
-
Avoid common syntax mistakes with real-time validation.
Step-by-Step: How to Integrate Copilot with SSMS 21
Step 1 – Install or Update to SSMS 21 (Here you can watch my YouTube video)
Step 2 - login to Azure portal
Step 5. Once you click on that service, you need to follow these steps:
-
Create a new resource group or add the service to an existing resource group you are already using.
-
Enter a proper name for your service.
-
Select a pricing tier.
-
Click the Next button.
Step 6. In the Network section:
-
Select All networks, including the Internet, to allow access to the resource.
-
Click Next.
Step 8. Click Create.
-
Click on Resource Management.
-
Click on Keys and Endpoint.
- Explore Azure AI Foundry Portal.
-
Azure OpenAI Endpoint – You can find this in Step 11.
-
Deployment Name – This is from Step 17(Deployment Name).
-
Key – You can also find this in Step 11.
-
Booom! You’re done, congratulations! You have successfully launched Copilot with SSMS 21.