16.20 - Example - Teradata Database

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

prodname
Advanced SQL Engine
Teradata Database
vrm_release
16.20
created_date
March 2019
category
Programming Reference
featnum
B035-1145-162K

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;