mysql - Using LIKE when searching for "%" -
this question has answer here:
i want check whether column starts "%". if search character code below doesn't work when searching "%".
select * `table` `column` 'anothercharacter%'
thanks.
you can try this
select * `table` column 'anothercharacter%[%]%'
or
where column '%\%%' escape '\'
Comments
Post a Comment