compare using like operator in mysql is not working -


the mysql query tried is

select 'a? b?' 'a b' 

currently output 0. how make result 1?

if need match it. must change like not like.

select 'a? b?' not 'a b' 

result 1.

edit

you need add %.

select 'a? b?' '%a%b%' 

Comments

Popular posts from this blog

android - Pass an Serializable object in AIDL -

How to provide Authorization & Authentication using Asp.net, C#? -

How to use Authorization & Authentication in Asp.net, C#? -