While looping over results with a cursor or so within a SQL Snowflake Scripting, how can I return a table created in memory?
I could create a temp table and insert into to return the results at the end, but that's too slow.
(from a now deleted comment on Snowflake Scripting in SQL - how to iterate over the results of a SHOW command?)

