Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: TRANSLATE

RE: TRANSLATE

From: Ramasubramanian, Shankar (Cognizant) <RShankar1_at_CHN.COGNIZANT.COM>
Date: Wed, 31 Jul 2002 06:13:39 -0800
Message-ID: <F001.004A7413.20020731061339@fatcity.com>


Hi,

        select translate(string,',"''','XYZ') from Dual

Only for single quote you need the escape character (another single quote).The above query changes the comma character to X , Double quote character to Y and single quote character to Z.

Regards,
Shankar


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Ramasubramanian, Shankar (Cognizant)
  INET: RShankar1_at_CHN.COGNIZANT.COM

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Received on Wed Jul 31 2002 - 09:13:39 CDT

Original text of this message

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