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 -

unity3d - Unity SceneManager.LoadScene quits application -

python - Error while using APScheduler: 'NoneType' object has no attribute 'now' -