16.20 - OCTET LENGTH - 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)

Purpose

Returns the length of string_expression in octets when it is converted to the named character set (taking the export width value into consideration). The maximum possible value returned from the OCTET_LENGTH function is 64,000 octets.

Syntax