SSC-PRF-0004
This statement has usages of cursor for loop
Severity
None
Description
This warning is used to indicate that the statement has usages of cursor for loop. A cursor for loop is a control structure that allows to iterate over the result set one row at a time.
This scenario could be considered a complex pattern when the code inside the loop is overly complex. E.g. if the SELECT statement inside the cursor for loop returns a large result set, or if the code inside the loop involves complex operations or nested loops, the cursor for loop could become slow and inefficient. This warning is meant to be a helper to spot some problems that a static-code analyzer such as SnowConvert cannot.
Code Example
Teradata
Oracle
Recommendations
If you need more support, you can email us at snowconvert-support@snowflake.com
Last updated