MSCEWI3106
Parametrized Cursor is not supported by Snowflake Scripting
This is a deprecated version of the SnowConvert documentation, please visit the official site HERE.
Severity
High
Description
Oracle supports parameters for cursors that are declared. However, Snowflake Scripting does not support this feature, so the declaration and the usage of the cursor are not possible.
Example Code
Input Code:
Output Code:
Recommendations
Try using bindings for the query in the cursor and open the cursor with the
USING
clause. Keep in mind that a parameter that is used multiple times on a single cursor may require passing the variable multiple times in theUSING
clause.
Manually change the cursor to use bindings.
If you need more support, you can email us at snowconvert-support@snowflake.com
Last updated