When using SQL, are there any benefits of using = in a WHERE clause instead of LIKE?
=
WHERE
LIKE
Without any special operators, LIKE
Really it comes down to what you want the query to do. If you mean an exact match then use =. If you mean a fuzzier match, then use LIKE. Saying what you mean is usually a good policy with code.