I am trying to replace escape character with a string but the query is giving me an irrelevant result
eg- char- '\' replace with 'adfc' with below query
SELECT REPLACE("abcdefgh\i","\\", "adfc" );
output - abcdefghi
Desired output - abcdefghadfci
How can i achieve this in mysql?
SELECT REPLACE(var,"\\", "adfc" );