Hi,
Inside a stored procedure i would like to use the replace function as such:
if instr(serv,'AAA')>0 then
replace(serv,'AAA','+');
at compile time i get an error saying that 'replace is not a procedure or is undefined'. i tried adding "standard" in front of replace since replace is in the "standard" oracle package, but still it didn't work. Can someone please tell me what i am doing wrong and what i need to do to make use of the replace function?
thanks any help is much appreciated
Inside a stored procedure i would like to use the replace function as such:
if instr(serv,'AAA')>0 then
replace(serv,'AAA','+');
at compile time i get an error saying that 'replace is not a procedure or is undefined'. i tried adding "standard" in front of replace since replace is in the "standard" oracle package, but still it didn't work. Can someone please tell me what i am doing wrong and what i need to do to make use of the replace function?
thanks any help is much appreciated