RETURN
Description
The RETURN statement returns back to the caller from a stored procedure. (Redshift SQL Language Reference Return).
The conversion of the return statement from Amazon Redshift to Snowflake is straightforward, only considering adding a NULL
to the return statement on Snowflake.
Grammar Syntax
Sample Source Patterns
Simple Case
Input Code:
IN -> Redshift_01.sql
Output Code:
OUT -> Redshift_01.sql
When the procedure has out parameters
SnowConvert returns a variant with parameters set up as output parameters. So, for each return, Snowconvert will add a variant as a return value.
Input Code:
IN -> Redshift_02.sql
Output Code:
OUT -> Redshift_02.sql
Known Issues
There are no known issues.
Related EWIs.
There are no related EWIs.
Last updated