MSCEWI3122
Package Variable Assignment transformation
This is a deprecated version of the SnowConvert documentation, please visit the official site HERE.
Severity
Low
Description
A Package Variable assignment was transformed to a custom UDF in order to keep the functional equivalence. A TO_VARCHAR
function is applied to the right expression of the assignment because all the package variables are declared as strings.
Example Code
Input Code:
Output Code:
Recommendations
Check if the format parameter of the TO_VARCHAR function is required for the scenario.
For
DATE
,DATETIME
,TIME
, orTIMESTAMP
data types check theDATE_INPUT_FORMAT
andTIMESTAMP_INPUT_FORMAT
session parameters. Those values will affect the TO_VARCHAR function's correct execution.If you need more support, you can email us at snowconvert-support@snowflake.com
Last updated