code-analysis
Use when the user asks to review, fix, explain or refactor T-SQL or a stored procedure without running it, incl. injection and SARGability. Has tested checks common answers miss, e.g. compile against the live schema with SET NOEXEC. For a cost-validated rewrite, use query-rewrite.
Pinned to revision 3224561abf68, so it is the text this page describes rather than whatever the author pushed since.
Files
Every link opens the file at its source, pinned to the revision this page describes.