SYSTEM$GET_RESULTSET_STATUS

functiondeferredQueries & DML

docs.snowflake.com ↗

System functions

Returns the status of a RESULTSET in a Snowflake Scripting stored procedure. This function can be useful for getting the status an asynchronous child job that is running for a RESULTSET.

Syntax

SYSTEM$GET_RESULTSET_STATUS( <resultset_name> )

Parameters

NameRequiredDescription
resultset_namerequiredThe name of the RESULTSET.

Returns

This function returns the status of the RESULTSET in a value of type VARCHAR. The following status values are possible:

Usage notes

Known gaps

Parts not fully supported, and recorded divergences from Snowflake.