mysql - Why the query is giving result while the destCurrency is not 0 - -


select *  xyz  applyat = 'anita'      , applyat = 'create'      , country = '50'      ,  dest_country = '108'      ,  origincurrency = 'eur'      ,  destcurrency = 0 , isenable = 'y'       , agentid = 0      , module = 'abc'  order ruleid desc  

you should add quotes varchar

select * xyz applyat = 'anita' , applyat = 'create' , country = '50' , dest_country = '108' , origincurrency = 'eur' , destcurrency = '0' , isenable = 'y' , agentid = 0 , module = 'abc' order ruleid desc


Comments

Popular posts from this blog

gcc - MinGW's ld cannot perform PE operations on non PE output file -

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

c# - Search and Add Comment with OpenXML for Word -