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: Removing blank spaces from a column ?

Re: Removing blank spaces from a column ?

From: Stephan Born <stephan.born_at_beusen.de>
Date: Thu, 12 Oct 2000 16:56:37 +0200
Message-ID: <39E5D125.A649EEE2@beusen.de>

VampireD schrieb:
>
> I assume you mean the data in the columns.
> There isn't a command I know off.
>
> But you can read the column into a record and then trim it, then update.
>
> > ie I would like to remove all the blank spaces
> > from the following column...
> >
> > 12 12 12 12 12 to make 1212121212

What about

select replace ('12 12 12 12 12', ' ', '') from dual

??

Regards, Stephan

-- 
---------------------------------------------------------------
Dipl.-Inf. (FH) Stephan Born   | beusen Solutions GmbH
fon: +49 30 549932-0           | Landsberger Allee 366
fax: +49 30 549932-21          | 12681 Berlin
mailto:stephan.born_at_beusen.de  | Germany
---------------------------------------------------------------
       PGP-Key verfügbar       |      PGP-Key available
---------------------------------------------------------------
Received on Thu Oct 12 2000 - 09:56:37 CDT

Original text of this message

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