16.20 - OTRANSLATE - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Functions, Expressions, and Predicates

Product
Advanced SQL Engine
Teradata Database
Release Number
16.20
Published
March 2019
Language
English (United States)
Last Update
2020-03-25
dita:mapPath
xzf1512079057909.ditamap
dita:ditavalPath
TD_DBS_16_20_Update1.ditaval
dita:id
kby1472250656485

Purpose

Returns source_string with every occurrence of each character in from_string replaced with the corresponding character in to_string.

Syntax



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.
from_string
A string of characters that will be replaced in source_string.
If from_string is NULL, the function returns source_string.
to_string
A string of characters that replaces the characters specified by from_string.
If to_string is NULL or empty, the function removes the characters specified in from_string.