GOTO
Translation reference for the conversion of Goto command to Snowflake Scripting
Last updated
Translation reference for the conversion of Goto command to Snowflake Scripting
Last updated
The BTEQ Goto command skips over all intervening BTEQ commands and SQL statements until a specified label is encountered, then resumes processing as usual. ()
Snowflake scripting doesn't have an equivalent statement for Teradata BTEQ Goto command, but fortunately it can be removed from the input code and get an equivalent code, due to the sequence of Goto and Labels commands in reverse topological order always. In other words, the definitions come after their uses. Thus, Snowconvert just needs to copy bottom-up all Label section code to its corresponding Goto statements.
No issues were found.
: Unrecognized token on the line of the source code.
: Removed next statement, not applicable in SnowFlake.
: Pending Functional Equivalence Review
: GOTO statement was removed due to if statement inversion.