16.20 - Example: Removing Characters without Replacing Them - Teradata Vantage NewSQL Engine

Teradata Vantageā„¢ SQL Functions, Expressions, and Predicates

prodname
Teradata Database
Teradata Vantage NewSQL Engine
vrm_release
16.20
category
Programming Reference
featnum
B035-1145-162K

The following query removes the from_string from source_string because to_string is empty.

SELECT OTRANSLATE('diet', 't', '');

 *** Query completed. One row found. One column returned.
 *** Total elapsed time was 1 second.

OTRANSLATE('diet','t','')
---------------------------------------------------------------------------
die