
Answer-first summary for fast verification
Answer: RESULT_SCAN
The RESULT_SCAN table function is specifically designed to retrieve and process the result set from a previously executed query in Snowflake. It takes a query ID as input and returns the result set, allowing for additional processing. QUERY_HISTORY and QUERY_HISTORY_BY_SESSION are information schema views that provide metadata about queries but do not return the actual result sets. DESCRIBE_RESULTS is not a valid Snowflake table function. The community discussion shows 100% consensus on answer B, with a reference to the official Snowflake documentation confirming RESULT_SCAN as the correct function for this purpose.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.