16.20 - Example: Returning the Current Database Version - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Functions, Expressions, and Predicates

Product
Advanced SQL Engine
Teradata Database
Release Number
16.20
Release Date
March 2019
Content Type
Programming Reference
Publication ID
B035-1145-162K
Language
English (United States)

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');