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 -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -