MSCEWI1081
Snowflake Scripting procedures cannot return more that one result set
This is a deprecated version of the SnowConvert documentation, please visit the official site HERE.
Severity
Medium
Description
This EWI is added when the source code is intended to return more than one Result Set from a single procedure. It is also added when there are Output Parameters and Dynamic Result Sets together in the same procedure. Snowflake Scripting procedures only allow one thing to be returned per procedure.
Example Code
Input Code:
The following procedure is intended to return two Result Sets, since it has the DYNAMIC RESULT SETS 2
property in the header and two cursors are opened in the body.
Output Code:
As expected behavior, the cursor to be returned is the first one opened. The EWI will be added warning that may be data lost since the second cursor opened will not be returned.
Recommendations
If you need more support, you can email us at snowconvert-support@snowflake.com
Last updated