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: LTRIM or TRIM Function

Re: LTRIM or TRIM Function

From: adragnes <adragnes_email-usenet_at_yahoo.com>
Date: 14 Feb 2005 03:18:10 -0800
Message-ID: <1108379890.648083.159320@g14g2000cwa.googlegroups.com>


First of all, you should not use either. The trim functions are for removing whitespace. Use SUBSTR instead:

SUBSTR(first_name,1,1) || last_name

But have you thought of what you will do in case you for instance both have a Bob Smith and a Bill Smith?

-- 
Aleksander Dragnes
Received on Mon Feb 14 2005 - 05:18:10 CST

Original text of this message

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