
Answer-first summary for fast verification
Answer: Use the RESULT_SCAN function.
The RESULT_SCAN function is the correct method for post-processing SHOW commands in Snowflake. It treats the output of the previous command as a table that can be queried using standard SQL. The community discussion shows 100% consensus on option A with multiple upvoted comments confirming this approach. Option B (CURSOR) is not applicable as CURSOR is used for procedural SQL, not for processing SHOW command results. Option C (FROM clause in brackets) is incorrect syntax for processing SHOW command outputs. Option D (RESULTSET) is not a valid Snowflake function or command for this purpose.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.