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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -