OREPLACE Function Syntax | VantageCloud Lake - OREPLACE Function Syntax - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
ft:locale
en-US
ft:lastEdition
2024-12-11
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905
[TD_SYSFNLIB.] OREPLACE ( source_string, search_string [, replace_string ] )

Syntax Elements

TD_SYSFNLIB.
Name of the database where the function is located.
source_string
A character string or string expression.
If source_string is NULL, NULL is returned.
search_string
A string of characters that the function searches for in source_string.
If search_string is NULL, NULL is returned.
replace_string
A string of characters that replaces the characters specified by search_string.
If replace_string is NULL or is an empty string, or is omitted, all occurrences of search_string are removed from the source_string.