16.20 - Example - 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)

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;