SQL Many Like%

of course – but you were concerned about performance, not whether it returns the same results

I imagine a difference is one query might be like “check each row against this condition, save to memory, next, return” and the other “check each row against these conditions, return”. i.e. memory shuffling. I also imagine any difference, if any, is relatively insignificant.

I have put together queries that the optimizer “fixed” for me. I would be interested in knowing if running any EXPLAIN queries showed any big differences for you.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.