16.20 - OCTET LENGTH - Teradata Vantage NewSQL Engine

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

prodname
Teradata Database
Teradata Vantage NewSQL Engine
vrm_release
16.20
category
Programming Reference
featnum
B035-1145-162K

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