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: Jan Pruner <jan_at_pruner.cz>
Date: Wed, 31 Jul 2002 06:08:31 -0800
Message-ID: <F001.004A7391.20020731060831@fatcity.com>


Why do you use translate??
It is easier to use REPLACE
select

	REPLACE(
		REPLACE(
			REPLACE('"''","Bye"','''','')
		,'"','')
	,',','') 

from dual;   

JP

On Wednesday 31 July 2002 14:23, you wrote:
> Hi,
>
> how can i use TRANSLATE to take out commas(,)single
> quotes(') and double quotes(") from a string ?
>
> Cheers
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Health - Feel better, live better
> http://health.yahoo.com

-- 
         Pruner Jan
       jan_at_pruner.cz
     http://jan.pruner.cz/
-----------------------------
Only Robinson Crusoe had all his work done by Friday
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Jan Pruner
  INET: jan_at_pruner.cz

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:08:31 CDT

Original text of this message

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