AI Automation
Batch-Fixing T-SQL Casing with AI
Automate T‑SQL casing fixes across hundreds of files using reference lists and the right tool for the job.
Surgical fixes > architectural rewrites
> Get-ChildItem -Path . -Filter *.ps1 -Recurse
> Where-Object FullName -notmatch '\\tests\\'
> Select-String -Pattern '\.(Query|Execute)|Invoke-DbaQuery'
> Select-Object -ExpandProperty Path -Unique
> Invoke-AITool -Prompt .\tsql-case-sensitive.md -Context ./sql-system-objects.txt