This works select replace('string with space',' ','')
and returns stringwithspace.
This does not work select replace('8 190',' ','')
, it returns 8 190
This is the same select replace('8 190',' ','')
returns 8 190.
Why doesn't it work?
The string_pattern needs to contain the ASCII code 160 for the space  
SELECT REPLACE('8 190', char(160),'')
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With