I am trying to remember how to generate the correct REPLACE statement in Oracle SQL.
In essence, I need to run REPLACE over several thousand records, in which column1 and column2 can contain the value '14' . If so, I need to replace it with just a space character.
I know that the syntax is similar to the following, but I cannot understand that it is right:
UPDATE TABLE SET ('column1', 'column2') = REPLACE(?????????????) WHERE 'column1' IN ('14') AND 'column2' NOT LIKE ('4%')
Any help would be appreciated.
Jared source share