IS_REAL

functionsupportedCore SQL functions

docs.snowflake.com ↗

Semi-structured and structured data functions

Returns TRUE if its VARIANT argument contains a floating-point number, fixed-point number, or integer value. These functions are synonymous.

Syntax

IS_DOUBLE( <variant_expr> )

IS_REAL( <variant_expr> )

Parameters

NameRequiredDescription
variant_exprrequiredAn expression that evaluates to a value of type VARIANT.

Returns

Returns a BOOLEAN value or NULL. - Returns TRUE if the VARIANT value contains a floating-point number, a fixed-point number, or an integer value. Otherwise, returns FALSE. - If the input is NULL, returns NULL without reporting an error.

See also