FETCH CURSOR
Last updated
Last updated
Retrieves rows using a cursor. ()
Transformation information
The FETCH into statement from Redshift is fully equivalent in Snowflake
1. Fetch without target variables is not supported
Snowflake requires the FETCH statement to specify the INTO clause with the variables where the fetched row values are going to be stored. When a FETCH statement is found in the code with no INTO clause an EWI will be generated.
Input Code:
Output Code:
There are no known issues.
: Fetch cursor without target variables is not supported in Snowflake