SQL IN-Clause Generator
About SQL IN-Clause Generator
Turn newline-separated strings or numbers into a SQL IN clause. Prepare literal lists for debugging; use parameterized queries for untrusted application data.
How to use this tool
Paste one string or number per line, choose the value type, and generate a SQL IN clause. Remove duplicates only when appropriate.
What to know
Use parameterized queries for untrusted application data. Generated literals are a debugging convenience, not a replacement for query parameters.