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

Home -> Community -> Usenet -> c.d.o.misc -> Re: put away characters in result of query

Re: put away characters in result of query

From: T3 <c.maradey2_at_verizon.net>
Date: 23 Dec 2005 07:44:51 -0800
Message-ID: <1135352691.688457.264380@z14g2000cwz.googlegroups.com>


You could also as mentioned I think just create a funtion like

Function REPLACE_CHARS
  ( f_string IN varchar2 )
  RETURN varchar2 IS

   new_string varchar2(4000) default null;

BEGIN
  if f_string is null then
    return null;
  end if;

    new_string := replace('A','');
    new_string := replace('B','');

etc...

RETURN new_string;

END; -- Function REPLACE_CHARS

I think that would also solve your problem.

T3 Received on Fri Dec 23 2005 - 09:44:51 CST

Original text of this message

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