r/SQLServer • u/erinstellato Microsoft Employee • Jan 23 '26
Community Request Friday Feedback: Code completions in GitHub Copilot in SSMS
Friday Feedback this week is based on this past Wednesday's SSMS release (22.2.1)...what do you all think of code completions in the latest SSMS 22 release?
Is it what you expected? What gaps have you found? Has it already made your life easier?
12
Upvotes
View all comments
Show parent comment
1
u/erinstellato Microsoft Employee Jan 26 '26
u/Northbank75 Is it offering non-existent fields when you don't have any tables in the FROM clause? If you've just typed SELECT, it's going to randomly select some columns if there's no table to reference. It can do a "best guess" at what you want, but without any table reference, it really has no idea what object you might be interested in querying.
What happens if you paste in (or write) a complete query, and then start trying to create more T-SQL? It needs a bit more context than just a blank query editor. It has the schema, but it doesn't have anything else to try and understand what type of query you want to write.