16.20 - Miscellaneous Examples - 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)
Function Result
_KanjiSJIS ‘92abc’ LIKE _Unicode ‘%abc’ TRUE
_KanjiSJIS ‘92abc’ LIKE _Unicode ‘%abc’ FALSE

% (FULLWIDTH PERCENT SIGN) is not a metacharacter in either KanjiSJIS or Unicode.

‘c%’ LIKE ‘c%%’ ESCAPE ‘%’ TRUE
‘c%’ LIKE ‘c%%’ ESCAPE ‘%’ FALSE

% (FULLWIDTH PERCENT SIGN) does not match % (PERCENT SIGN).