I need help to replace funny character in a column in SQL Server,
I have data like this:
id itemDesc
----------------------------------------------
1 Ball lock pins/ spring typeáááááá
2 Res 1.5k Ohm û R0805 1%
If itemDesc
contains á
, then replace it with " "
; if it contains (û
), replace it with -
. I used charindex
but not change at all especially with many funny characters like id = 1, so if i used charindex, "Ball lock pins/ spring typeáááááá" => "Ball lock pins/ spring type ááááá"
Any approach? thanks for help