Oracle® OLAP DML Reference 10g Release 2 (10.2) Part Number B14346-02 |
|
|
View PDF |
The CHANGEBYTES function changes one or more occurrences of a specified string in a text expression to another string.
Return Value
TEXT
Syntax
CHANGEBYTES(text-expression oldtext newtext [number])
Arguments
A TEXT
expression in which bytes are to be changed. When text-expression is a multiline TEXT
expression, CHANGEBYTES preserves the line breaks in the returned value.
A TEXT
expression that contains one or more bytes that will be changed.
A TEXT
expression that contains one or more bytes that will replace oldtext.
An INTEGER
that represents the number of times oldtext should be replaced with newtext when oldtext appears more than once in text-expression. The default is to change all occurrences of oldtext.
Examples