Skip to main content
Returns the number of elements in an array. The result type is INT. If the input parameter is NULL, the result is also NULL. Null elements are counted in the length. It has an alias cardinality().

Syntax

Parameters

any_array: the ARRAY value from which you want to retrieve the number of elements.

Return value

Returns an INT value.

Examples

text

keywords

ARRAY_LENGTH, ARRAY, CARDINALITY