Helloeveryone.IhaveatablewithaTEXTfield.IneedtochangeaninformationwithinthistextfieldbutIcannotdoit.TheREPLACEfunctionworksinavarcharfield,butdoesnotworkwithinthetextfield.
Forexample:Ihavearecordwherethisfieldcontainsthefollowinginformation:"INFO: Alpha, Beta, Gama; CPPC-TM: 0x3453; ALGOMALS" I need to change this value "CPPC-TM" to "NEWINFO". The final resilient should be: "INFO: Alpha, Beta, Range; NEWINFO: 0x3453; ALGOMALS"
Is there a way to do this via sql?
I've tried:
update MYTABELE
set orgsalkeyfil = replace(orgsalkeyfil, 'CPPC-TM', 'NEWINFO');
But it always returns an error.
If you run the same script in a varchar field, it runs fine.