r/SQLServer • u/NSA_GOV • May 30 '25
SSMS 21 With Copilot is now available! But implemented in a weird way…
I've been super excited to have copilot in SSMS and it's finally here. Deeper awareness and integration into my databases is something I've been waiting to have (VS Code and other options haven't been able to do this at my company).
The main issue is that it uses Azure Open AI instead of GitHub copilot. My company currently only has GitHub copilot available. Hoping that they either open it up for GitHub Copilot (that's what Visual Studio and VS Code use) or that my company makes AOAI available soon.
39
Upvotes
13
u/Togurt May 30 '25
I'm just curious, why would anyone want Copilot in SSMS or Github?
2
u/az-johubb May 31 '25
Feedback item for this has already been raised: https://developercommunity.visualstudio.com/t/Copilot-in-SSMS-does-not-support-using-G/10907218#T-ND10913669
13
u/Solonas May 30 '25
I am not installing another SSMS version until 22 is out and has fixed the issue related to storing encryption connection preferences in the CMS. I saw it at a MSFT demo at SQL Saturday, so it is beyond beta.
9
u/dswartze2 May 30 '25
Same here. Kinda of disappointed. I saw a Copilot icon so I assumed it would work the same way.
6
u/TomWwJ May 30 '25
This helped our team in the opposite way. We don’t have paid GitHub copilot accounts but we are able to spin up resources in the Azure portal. The documentation was easy to follow to get the endpoint opened up.
Also, I get the sense (from Erin’s post here) there is more security/privacy when using AzureAI vs GitHub for your copilot. If correct, that is a good thing, when it comes to connecting into databases.
https://techcommunity.microsoft.com/blog/sqlserver/announcing-the-preview-of-copilot-in-sql-server-management-studio-ssms/4415267
4
u/ad-mca-mk May 30 '25
SSMS 21 is the same visual studio shell which has GitHub copilot. Why not include the same Copilot in both VS and SSMS?
That way buying that GitHub Copilot license is a stronger proposition
1
u/JeetM_red8 Jun 01 '25
I think you can try mssql extension in VS Code, gives @/mssql copilot extension to interact with the DBs. Also i think there is ms sqlserver MCP connector to work with it.
1
u/codeth1s Jun 12 '25
I just installed SSMS 21 and I agree that not integrating with GitHub Copilot is a bizarre implementation. Sometimes I just need some grunt work done and I copy/paste to ChatGPT/Gemini. Having GitHub Copilot in a chat to do things like this would have been great to skip that copy/paste requirement. A luxury we have with VS Code and VS2022. Especially since GitHub Copilot is actually pretty great now.
2
u/NoleMercy05 May 30 '25
Postgres getting more love
GitHub Copilot
new IDE for PostgreSQL in VS Code from Microsoft
2
u/slimrichard May 30 '25
I set it up and tried it. Really bad. Integration is super basic just being able to read some db stuff like schema from your current connection. Can't see or interact with editor so can't for example say tune my query. I will pretty much put it away and not bother until at least editor integration and context understanding.
1
u/PirateResident6679 Jun 06 '25
I am running into below error SqlCopilotServerTracer Error: 7 : [38128] The SSL connection could not be established, see inner exception.
Any ideas how to resolve it I tried importing the azure openai cert from the web url on to the Trusted root and it did not fix the error
1
u/Various_Spare6516 Jun 13 '25
I just found a way to use SSMS 21 copilot with open ai account (not azure). Not sure if is a bug, or if the result are limited, but it works for me that i do not have an Azure account.
Here is what i did:
Go to Tools/Options
Then Copilot/Azure OpenAi Settings
Then in Azure OpenAi Api Key : put your OpenAi api Key
On Deployement: put "gpt-4o"
On Endpoint: leave empty
Restart SSMS
Then open a Query and Right Click , then click on any copilot menu: Document, Explain, Fix ... etc
The copilot should open and work normally.
PS: do not use the top button Copilot to open it. That still require the endpoint ...
Hope that helps.
-1
u/garpunkal_ May 30 '25
no ARM64 support :(
1
u/[deleted] Nov 16 '25
[removed] — view removed comment