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: Simple SQL query help - String functions

Re: Simple SQL query help - String functions

From: DA Morgan <damorgan_at_psoug.org>
Date: Thu, 26 Apr 2007 07:34:41 -0700
Message-ID: <1177598080.543906@bubbleator.drizzle.com>


Thorsten Kettner wrote:

> select translate(replace(replace(Lname,'Dr. ', ' '),' Jr.', '
> '),'ביא''" .', 'aea') ...

Assuming it doesn't contain "Dr" without the period, or "MD PhD" or M.D. Ph.D" and a near infinite supply of other variants. Often the job is hopeless unless the table is redesigned to guarantee integrity.

-- 
Daniel A. Morgan
University of Washington
damorgan_at_x.washington.edu
(replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org
Received on Thu Apr 26 2007 - 09:34:41 CDT

Original text of this message

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