MAP_KEYS

functionsupportedCore SQL functions

docs.snowflake.com ↗

Semi-structured and structured data functions

Returns the keys in a MAP.

Syntax

MAP_KEYS( <map> )

Parameters

NameRequiredDescription
maprequiredThe input map.

Returns

Returns a structured ARRAY containing the keys in the MAP. The order of the keys is undefined.

Referenced by