maxdop
Last updated
An opinionated T-SQL formatter that runs in CI and checks its own work.
Install with winget
$ winget install --id pagebrooks.maxdop --exact --version 0.1.2Run in Command Prompt, PowerShell, or Windows Terminal. Prompts for any agreements.
For Intune admins
Stop chasing app updates. Pckgr patches them for you.
Automated application patching for Microsoft Intune. Pckgr keeps a curated library of 1,000+ apps continuously up-to-date in your tenant via Microsoft Graph - no manual repackaging, no chasing vendor sites.
Start free 30-day trialFrom $49/month. No credit card required.
Not on Intune? Pckgr RMM deploys and patches apps like this one on any Windows fleet. Free for up to 5 devices.
About
maxdop formats T-SQL using Microsoft's own parser, ScriptDom — the one behind DacFx and SQL
database projects — so it reads stored procedures, GO batches and SQL Server 2000-era syntax the
way the server does, rather than guessing from tokens.
Every format is re-parsed and compared against the input: token stream, syntax tree and comments.
On any mismatch your original file is returned untouched with a distinct exit code, so a formatter
bug cannot corrupt your source. Measured across 2,215 real-world files it refused nothing, crashed
on nothing, and lost none of their 11,261 comments.
It is one static binary with no .NET runtime to install, and the same binary runs in your editor
and your build pipeline. Style lives in a .maxdop.json committed next to the code, so a repository
formats the same way for everyone who opens it.
Installers · v0.1.2
Copy a command tailored to that specific architecture, type, and scope - useful when winget would otherwise pick a different default.
Security
No known CVEs for maxdop.
Coverage is best-effort and depends on a winget package mapping to an NVD CPE entry. Absence here is not a guarantee of safety.
Related apps
More from Page Brooks or browse cli, database, formatter.
Frequently asked questions
How do I install maxdop on Windows?
How do I install maxdop silently for unattended deployment?
How do I uninstall maxdop via winget?
Is maxdop free?
Does maxdop work on Windows 10?
How do I keep maxdop up to date?
Recent versions
- 0.1.2latest
- 0.1.1