MySQL LIKE IN()?

REGEXP might be more efficient, but you’d have to benchmark it to be sure, e.g.

SELECT * from fiberbox where field REGEXP '1740|1938|1940'; 

Leave a Comment