17.10 - Example - Advanced SQL Engine - Teradata Database

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

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1145-171K
Language
English (United States)

Consider the following table definition:

   CREATE TABLE table_1
     (cunicode CHARACTER(64) CHARACTER SET UNICODE);

To find all values in cunicode that can be translated to LATIN, use the following statement:

   SELECT cunicode
   FROM table_1
   WHERE TRANSLATE_CHK(cunicode USING Unicode_TO_Latin) = 0;