LIKE
is used for pattern matching and =
is used for equality test (as defined by the COLLATION
in use).
=
can use indexes while LIKE
queries usually require testing every single record in the result set to filter it out (unless you are using full text search) so =
has better performance.