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: Can you use RTRIM in select clause

Re: Can you use RTRIM in select clause

From: Kai Horstmann <horst_at_werum.de>
Date: Wed, 27 Jan 1999 10:48:15 +0100
Message-ID: <36AEE0DF.DDA2919B@werum.de>


asupcsi_at_cyberramp.net schrieb:
> Is it possible to use rtrim in the select clause of an Oracle sql stmt? I

You can check if it works with

select '''' || x || '''' from tablename;

Here blanks at the end are clearly visible cause the result strings are enclosed in "'" characters.

Now try
select '''' || rtrim(x) || '''' from tablename;

Now the blanks at the end should have been disappeared

Hpe that helps
Kai Received on Wed Jan 27 1999 - 03:48:15 CST

Original text of this message

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