The replace() function returns a copy of
with each instance of the value
substring replaced by search
. If any of the parameters are NULL, a NULL will be
returned. If replacement
is an empty string, search
will be returned unmodified. Otherwise, all
parameters will be converted into text values.value
The replace() function also works on BLOB values,
although the result is returned as a text value and must be cast
back to a BLOB.