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

Home -> Community -> Usenet -> c.d.o.tools -> Re: Parsing a phone number

Re: Parsing a phone number

From: David Grzebien <dgrzebie_at_columbus.rr.com>
Date: Fri, 17 Nov 2000 01:26:39 GMT
Message-ID: <3A148ABE.42AD2DD3@columbus.rr.com>

This looks like a job for PL/SQL. Basically, here is what I would do:

Hope this makes sense.

Dave Grzebien
ETCI
dave_at_etci.net

steveee_ca_at_my-deja.com wrote:

> Hi everyone,
>
> I've just been asked to create a script that will go through a field of
> phone numbers that have been stored 'free form' (e.g. (614) 222-3333,
> 614-222-3333, 222-3333 etc) and strip out all of the punctuation and
> spaces
> so that only the numerals are stored (i.e. 6142223333).
>
> This is a one time only thing so I don't have to be too worried about
> performance..we'll run it at 2 am if we have to :)
>
> Any help would be deeply appreciated..
>
> Oracle 8.0 , Sun Solaris 2.6
>
> Thanx in advance,
>
> Steve
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
Received on Thu Nov 16 2000 - 19:26:39 CST

Original text of this message

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