postgresql - Replace apostrophe in string -


how replace single apostrophe ' in string ie;

turn king's lynn kings lynn

something like

select replace ('king's lynn',''','')

have tried ''\' doesn't escape

dollar quoting makes easier:

replace ($$king's lynn$$, $$'$$, '') 

Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

What is happening when Matlab is starting a "parallel pool"? -

php - Cannot override Laravel Spark authentication with own implementation -