Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Should Be Simple Right

Should Be Simple Right

From: Post, Ethan <Ethan.Post_at_ps.net>
Date: Fri, 12 Nov 2004 13:13:30 -0600
Message-ID: <83FCA77436D6A14883E132C63F4101D001A6ED44@pscdalpexch50.perotsystems.net>


presume

x.text :=3D 'blah BLAH DBMS_OUTPUT.put_line(''foo'');'

The following line...

x.text :=3D replace(x.text,'dbms_output.put_line','pltrack.put_line');

does not work because DBMS_OUTPUT is upper case.

I want this to work and the easiest method I see is to use UPPER or LOWER but then I have change the entire line and I do not want to do that. Beside that I have to do some sort of INSTR, SUBSTR which I can do but I am hoping there is any easier way to do replace with case insensitivity.

Oracle 9.2.0.4

--
http://www.freelists.org/webpage/oracle-l
Received on Fri Nov 12 2004 - 13:13:49 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US