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: STUFF command

Re: STUFF command

From: Dave Sisk <dsisk_at_nc.rr.com.0nospam0>
Date: Thu, 01 Apr 2004 03:49:20 GMT
Message-ID: <4jMac.38678$zy.375897@twister.southeast.rr.com>


Lookup the REPLACE function in the Oracle docs. I believe this will do what you want. (Btw, STUFF in SQLServer is a function also...:-)

HTH,
Dave

<grille11_at_yahoo.com> wrote in message
news:c4e6ad$k1n$1_at_reader1.imaginet.fr...
> Hello,
>
> I am trying to find the equivalent of the STUFF command from SQL (deletes
a
> specified length of characters and inserts another set of characters at a
> specified starting point).
> Would someone knows this?
> thanks in advance
>
>
> This example returns a character string created by deleting three
characters
> from the first string (abcdef) starting at position 2 (at b) and inserting
> the second string at the deletion point.
>
> SELECT STUFF('abcdef', 2, 3, 'ijklmn')
> GO
> ---------
> aijklmnef
>
>
>
>
>
Received on Wed Mar 31 2004 - 21:49:20 CST

Original text of this message

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