BITMAP_BIT_POSITION

functionsupportedCore SQL functions

docs.snowflake.com ↗

Aggregate functions

Given a numeric value, returns the relative position for the bit that represents that value in a bitmap.

Syntax

BITMAP_BIT_POSITION( <numeric_expr> )

Parameters

NameRequiredDescription
numeric_exprrequiredThis expression must evaluate to a data type that can be cast to NUMBER.

Returns

The function returns the zero-based position of the bit for that value in a bitmap.

See also