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`.

Microsoft Updated 195k repo stars

File contents

microsoft/microsoft-sql commit 1cdd371d0c

Frequently asked questions

npx get-skill add microsoft/code-analysis