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: Remove record padding/whitespace after import

Re: Remove record padding/whitespace after import

From: Michael Ringbo <mri_at_dde-nospam.dk>
Date: Tue, 12 Jan 1999 12:18:58 +0100
Message-ID: <369B2FA1.77D933C4@dde-nospam.dk>


Hi

You can use the standardfunctions rtrim and ltrim.

examples:

select rtrim(ltrim(' test ')) from dual ; --> 'test'

update tab_x
set y_col = rtrim(ltrim(y_col));

Regards

Michael Ringbo

Jurgen Fieouren wrote:

> I've recently used an application to export directly to an Oracle 8 table by
> means of an append query and ODBC. Unfortunately, I cannot prevent the
> records from being padded with spaces to their extents. How can I remove
> this waste? Many thanks for any advice . . .
Received on Tue Jan 12 1999 - 05:18:58 CST

Original text of this message

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