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

angular - DownloadURL return null in below code -

python 2.7 - Given three nested dictionaries, sort the top two nested dictionaries from a value in the innermost dictionary? -