ASSIGNMENT STATEMENT
Description
The assignment statement sets the value of a data item to a valid value. (Oracle PL/SQL Language Reference ASSIGNMENT Statement)
Some parts in the output code are omitted for clarity reasons.
LET
keyword is not needed for assignment statements when the variable has been declared before. Check Snowflake Assignment documentation for more information.
Sample Source Patterns
1. Scalar Variables
Oracle
Snowflake Scripting
Transformation for some data types needs to be updated, it may cause different results. For example, NUMBER to NUMBER rounds the value and the decimal point is lost. There is already a work item for this issue.
2. Out Parameter Assignment
To get more information about how the output parameters are being converted, please go to the following article Output Parameters.
3. Not Supported Assignments
Oracle
Snowflake Scripting
Known Issues
1. Several Unsupported Assignment Statements
Currently, transformation for cursor, collection, record, and user-defined type variables are not supported by Snow Scripting. Therefore assignment statements using these variables are commented and marked as not supported. Changing these variables to Snowflake semi-structured data types could help as a workaround in some scenarios.
Related EWIs
Last updated