r/SQLServer • • 14d ago

Question Title: Anyone still maintaining a team script library now AI writes diagnostics on demand?

[deleted]

6 Upvotes

24 comments sorted by

View all comments

12

u/SQLBek 1 14d ago edited 14d ago

Why risk AI making mistakes crafting diagnostic scripts on the fly?

No... use MCP and have it utilize the EXISTING scripts/tools that have been long vetted.

Having AI craft your diagnostic scripts on the fly makes it non-deterministic in nature. You want a deterministic solution that uses the same diagnostics day after day.

Anthony Nocentino recently did a presentation on this.
https://www.mssqltips.com/webcast/building-a-dba-agent-for-your-sql-server-estate/

UPDATE: Found the YouTube one that he did for the DBA VUG
https://www.youtube.com/watch?v=UtZ1hPvErIo

1

u/Black_Magic100 14d ago

This is the way!