I know that Oracle has the TRIM function and I would like to use it to trim the whitespace out of a field in one of my tables.
As such:
update THIRD_PARTY_ADRS_INFO_TEMP
set HOUSE_NO = TRIM(HOUSE_NO);
just hangs when i try to run it in SQL Developer.
I have also tried TRIM(' ' from HOUSE_NO) and REPLACE(HOUSE_NO,' ','') all with the same effect
This seems like it should be really simple…
ideas?
If it “hangs” then this suggests that your session is blocked by another session. You are trying to update every row in the table; if another session has locked a row in the same table and not yet committed your session will have to wait.