16.20 - BIT_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 the string expression in bits.

Syntax



string_expression
The character string for which the number of bits is required.
character_set_name
The character set in which the result is returned. If character_set_name is not provided, the session character set is assumed.
If the string _expression argument is NULL, the result is NULL.