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: Supressing spaces in a field

Re: Supressing spaces in a field

From: gdas <gdas1NOgdSPAM_at_yahoo.com.invalid>
Date: Mon, 14 Aug 2000 19:06:39 -0700
Message-ID: <16557e20.6222c272@usw-ex0101-006.remarq.com>

Use the replace sql function

select replace(phone_num, ' ') from ...

where "phone_num" is the name of the column...

replace allows for a 3rd parameter which is the replacement string, if you omit it, however, it will simply remove the spaces.

For more information see the documentation on the replace function in the oracle sql manual.


Got questions? Get answers over the phone at Keen.com. Up to 100 minutes free!
http://www.keen.com Received on Mon Aug 14 2000 - 21:06:39 CDT

Original text of this message

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