DECLARE CONDITION HANDLER
Translation reference to convert Teradata DECLARE CONDITION handler to Snowflake Scripting
Description
Assign a name to an SQLSTATE code, or declare a user-defined condition.
For more information regarding the Teradata DECLARE CONDITION handler, check here.
DECLARE condition_name CONDITION
[ FOR SQLSTATE [ VALUE ] sqlstate_code ] ;Sample Source Patterns
DECLARE CONDITION
Teradata
CREATE PROCEDURE declareConditionExample ( )
BEGIN
DECLARE DB_ERROR CONDITION;
...
END;Snowflake Scripting
Known Issues
DECLARE CONDITION FOR SQLSTATE
The support of declaring conditions for SQLSTATE values is not currently supported by Snowflake Scripting.
Teradata
Snowflake Scripting
Related EWIS
SSC-EWI-0058: Functionality is not currently supported by Snowflake Scripting.
Last updated
