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

Home -> Community -> Usenet -> c.d.o.server -> Re: pls help w/data conversion

Re: pls help w/data conversion

From: Frank Hubeny <fhubeny_at_ntsource.com>
Date: Sun, 22 Jul 2001 22:23:29 -0700
Message-ID: <3B5BB4D1.108E3DC3@ntsource.com>

Here is one possibility:

create or replace function s_at_end(n varchar2) return varchar2 is
begin

   if substr(upper(n),length(n),1) = 'S' then

      return n || '''';
   else

      return n;
   end if;
end;
/

Frank Hubeny

rmartes wrote:

> If the last letter of someone's name ends
> with s, I will like to be able to have my
> form letters convert to s'.
>
> Thanks
Received on Mon Jul 23 2001 - 00:23:29 CDT

Original text of this message

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