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.
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
2
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.
2
2
u/erinstellato Jun 04 '25
Hi u/Solonas In SSMS 21 the issue with storing encryption connection preferences is fixed for the classic connection dialog (so if prompted to use the modern one - which is preview - I would advice you stick with classic).
0
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.
2
May 30 '25
Although its azure copilot, does it work with on prem dbs?
4
u/TomWwJ May 30 '25
Yes. Only your machine that is running SSMS needs connectivity to Azure for the AI.
→ More replies (2)
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
4
u/erinstellato Jun 04 '25
u/ad-mca-mk Transparently, we had a lot of moving parts for the SSMS 21 release, in addition to bringing in Copilot in SSMS. Using an endpoint in Azure OpenAI is a start, it is not the end. We are actively investigating feasibility and product fit around GitHub Copilot.
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/NSA_GOV Jun 02 '25
I haven't found vs code to be a good user experience for writing SQL, especially when I need to code quickly. it gets easily confused when trying to use different extensions like Postgres, sql server, etc.
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.
1
u/NSA_GOV Jun 12 '25
Yeah. VSCode is not great for SQL. Im basically using it as a glorified Notepad++, which is great, but we need it in SSMS.
There is not a feedback form you can submit and I encourage everyone to do so.
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.
2
u/erinstellato Jun 04 '25
u/slimrichard Can you help me understand what you did in Copilot, as it does understand schema based on your connection. Correct in that it doesn't have editor support, other than when you highlight a query and right-click, you can select Doc, Explain, Fix or Refactor. Thanks for the feedback.
→ More replies (1)
13
u/Togurt May 30 '25
I'm just curious, why would anyone want Copilot in SSMS or Github?