MSCEWI2067
Multiple result sets are returned in temporary tables
This is a deprecated version of the SnowConvert documentation, please visit the official site HERE.
Severity
Low
Description
Snowflake Scripting procedures only allow one result set to be returned per procedure.
To replicate Teradata behavior, when there are two or more result sets to return, they are stored in temporary tables. The Snowflake Scripting procedure will return an array containing the name of the temporary tables.
Example code
Input Code:
Output Code:
Recommendations
To obtain the result sets, it is necessary to run a SELECT query with the name of the temporary tables returned by the procedure.
As much as possible, avoid procedures that return multiple result sets; instead, make them single-responsibility for more direct results.
If you need more support, you can email us at snowconvert-support@snowflake.com
Last updated