If you do want to replace the CHAR(10) and char(13) with spaces or blanks, what you are doing is correct. But I suspect the characters are something other than those two. You can find what those are usingSELECT CAST('J->' AS VARBINARY)When I do that with the string you posted, I get this:0x4A2D3E1A
Now, you can replace any of the four characters that you want to - for example, to replace the second character:REPLACE('J->',CHAR(0x2D),'')