Fetch Records from Mysql By Splicting the value of the column "122-362-25-36" -


fetch records mysql splicting value of column "122-362-25-36": remove (-) sign , search records in table containing value 122-362-25-36 => 1223622536 125-365-36-56 => 1253653656 , search sql query

it's not clear exact question per got think solution should be:-

select * table id in (select replace('122-362-25-36','-','') id); 

Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -