SQL Query Analyzer

AI-assisted review only. Your query is sent securely to the configured AI provider for analysis. It is never executed or saved by StarAssist. Do not include passwords, connection strings, or private data.

Choose a version when you know it. The analyzer will explain any assumptions it has to make.

Paste your query once. StarAssist will reuse it if you choose a deeper performance check.0 / 20,000
Add table details or an error message Optional

Open this only when the query refers to tables the analyzer cannot see, or SQL Server has already returned an error.

Paste relevant CREATE TABLE scripts.
Paste the exact message SQL Server returned.
Ctrl/⌘ + Enter