MSCEWI3100
For Loop With Multiple Conditions Is Currently Not Supported By Snowflake Scripting. Only First Condition Is Used
This is a deprecated version of the SnowConvert documentation, please visit the official site HERE.
Severity
Low
Description
Oracle allows multiple conditions in a single FOR LOOP however, Snowflake Scripting only allows one condition per FOR LOOP. Only the first condition is migrated and the others are ignored during transformation.
Example Code
Input Code:
CREATE OR REPLACE PROCEDURE P3
AS
BEGIN
FOR i IN REVERSE 1..3,
REVERSE i+5..i+7
LOOP
NULL;
END LOOP;
END;Output Code:
Recommendations
Separate the
FOR LOOPinto different loops or rewrite the condition.If you need more support, you can email us at [email protected]
Last updated
