Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> STUFF command
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