Skip to content

Instantly share code, notes, and snippets.

@chadhutchins
Created February 10, 2016 14:43
-- works in MySQL, fails in MSSQL
SELECT * FROM contacts WHERE title=’CEO’ && title=’CTO’;
-- works in both MySQL and MSSQL
SELECT * FROM contacts WHERE title=’CEO’ AND title=’CTO’;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment