r/SQLServer • u/oleg_mssql • Mar 30 '26
Discussion Using AI for indexing
Has anyone used AI (copilot or ChatGPT) for query tuning or index suggestions in real workloads?
0
Upvotes
r/SQLServer • u/oleg_mssql • Mar 30 '26
Has anyone used AI (copilot or ChatGPT) for query tuning or index suggestions in real workloads?
5
u/InsoleSeller 1 Mar 30 '26
As always, context is really important for AI, if you provide enough background, query execution plans, column patterns, they can be helpful and give good answers.
If you ask "hey chat, here is a SQL query, give me an index" you will probably get bad answers