r/SQLServer • • 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

29 comments sorted by

View all comments

Show parent comment

1

u/ihaxr 2 Mar 30 '26

Yeah but if the bit was flipped, you'd only need to read 1% of the table!

1

u/Black_Magic100 Mar 30 '26

Then in that case, a filtered index would be better 😉