How to update fields with spaces in names to ones without spaces in Oracle?

    1> Create a new temporary table

2>

select * from grdk_sq_htxx where jkrxm='Wu Jianguang';---Wu Jianguang

update grdk_sq_htxx t set t.jkrxm = replace(jkrxm,' ','') where regexp_like(t.jkrxm,'[[:space:]]');


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324893766&siteId=291194637