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: Simple SQL question

Re: Simple SQL question

From: Andy Hassall <andy_at_andyh.co.uk>
Date: Fri, 03 Feb 2006 21:59:36 +0000
Message-ID: <pfk7u1pti7cg82d0fpoueq49382m6bb79q@4ax.com>


On Fri, 3 Feb 2006 14:58:18 -0000, Jeremy <jeremy0505_at_gmail.com> wrote:

>I am not familiar with TRANSLATE (I know it's not new but I
>never found the need to use until now (?))
>
>So to get from:
>'the cat sat on the mat'
>to
>'the cat sat on the mat'
>
>using a TRANSLATE statement would be?

 ... impossible, I think, since translate does simple single-character transliterations, whereas the OP wants pairs of spaces turned into single spaces.

-- 
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Received on Fri Feb 03 2006 - 15:59:36 CST

Original text of this message

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