16.20 - ANSI Equivalence of Teradata Attribute Functions - 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)

Several of the Teradata attribute functions are extensions to the ANSI SQL:2011 standard.

To maintain ANSI compatibility, use the ANSI equivalent functions instead of Teradata attribute functions, when available. As listed in the table below, change the Teradata function to the ANSI function in new applications.

Teradata Function ANSI Function
CHARACTERS

CHARS

CHAR

CHARACTER_LENGTH
MCHARACTERS†
† This function is no longer documented because its use is deprecated and it will no longer be supported after support for KANJI1 is dropped.
The following Teradata functions have no ANSI equivalents:
  • BYTES
  • FORMAT
  • TYPE