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

Popular posts from this blog

ZeroMQ on Windows, with Qt Creator -

.net - Generate assembly with Roslyn -

batch file - filebot superstrict script: need tiny video sample or other solution -