ABORT and ROLLBACK
Translation reference to convert Teradata ABORT and ROLLBACK statements to Snowflake Scripting
Description
Teradata's ABORT
and ROLLBACK
statements are replaced by a ROLLBACK
statement in Snowflake Scripting.
For more information on Teradata ABORT and for ROLLBACK.
Sample Source Patterns
Basic ABORT and ROLLBACK
Teradata
IN -> Teradata_01.sql
Snowflake Scripting
OUT -> Teradata_01.sql
Conditional ABORT and ROLLBACK
Teradata
IN -> Teradata_02.sql
Snowflake Scripting
OUT -> Teradata_02.sql
ABORT and ROLLBACK with table references and FROM clause
Teradata
IN -> Teradata_03.sql
Snowflake Scripting
OUT -> Teradata_03.sql
ABORT and ROLLBACK with table references without FROM clause
Teradata
IN -> Teradata_04.sql
Snowflake Scripting
OUT -> Teradata_04.sql
Known Issues
1. Custom Error Message
Even though the ROLLBACK AND ABORT are supported, using them with a custom error message is not supported.
Teradata
IN -> Teradata_05.sql
Snowflake Scripting
OUT -> Teradata_05.sql
2. Aggregate function
The use of the aggregate function combined with ABORT/ROLLBACK is not supported
Teradata
IN -> Teradata_06.sql
Snowflake Scripting
OUT -> Teradata_06.sql
Related EWIS
No related EWIs.
Last updated