Example: Returning the Current Database Version

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

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

The following query returns the string 'TD14.0 is the current database version'. The occurrence in source_string of the character in from_string ('3') is replaced by the character in to_string ('4').

   SELECT OTRANSLATE('TD13.0 is the current database version',
      '3', '4');