ARRAY_COUNT Function

Returns the number of elements in a given array.

Syntax

ARRAY_COUNT(array)

Parameters

Return Value

The number of elements in array.

Example

PRINT ARRAY_COUNT(ARRAY('A', 'B', 'C'));  -- "3"

See Also