在Postgresql中删除字符

时间:2019-03-19 15:42:03

标签: postgresql

请建议我如何在postgresql中实现此目标

select replace (INITCAP((encode(decode((
CONCAT_WS('',REPLACE (REPLACE (REPLACE (INITCAP ('Györgyi'), CHR (13), CHR (13)),CHR (10),CHR (10)), CHR (9),CHR (9))
,REPLACE (REPLACE (REPLACE (INITCAP ('Gégény'), CHR (13),CHR (13)),CHR (10),CHR (10)), CHR (9),CHR (9))
)),'escape'),'escape'))) , CHR (10), CHR (10)) AS Name;

当前输出-Gy\303\266rgyig\303\243\302\251g\303\243\302\251ny

预期输出-Gyorgyi Gacgacny

0 个答案:

没有答案