Generate SQL 'IN' Statements from a list of values

This utility converts a series of values to comma delimited values with single quotes around each value






Easily convert array to values for use in SQL IN clause

You have a list, be it a short list or a long list, and you need to turn it into a SQL 'in' statement

Purell, Walter, Greer, Conrad

You can convert it to

Select * from Contacts where CompanyName in 
(
'Purell',
'Walter',
'Greer',
'Conrad'
)

Generate delimited values enclosed in single quotes

With this utility you can easily generate enclosed values delimited by comma. You can directly paste this list into your SQL IN Clause

The SQL WHERE IN Examples

SELECT Id, CompanyName, City, Country
FROM Supplier
WHERE Country IN ('USA', 'UK', 'Japan')

Be a Rockstar at work !

Metriccamp makes you faster and super awesome at your job. Remember to Bookmark this page now. And checkout our other awesome data tools




MetricCamp.com