MSCEWI3047
TO_NCHAR transformed to TO_VARCHAR, it may not be compilable in Snowflake.
This is a deprecated version of the SnowConvert documentation, please visit the official site HERE.
Severity
Low
Description
This warning is added when the function TO_NCHAR was found and it was transformed into a TO_VARCHAR function.
There are multiple cases where the transformation causes a compilation error, or the output is not the same.
Example Code
Input Code:
Output Code:
The example from above will result in an error if it is used in Snowflake.
Not all cases are causing errors
Input Code:
Output Code:
The last example does not cause an error in Snowflake, and the output is equivalent if executed.
Recommendations
No additional user actions are required.
If you need more support, you can email us at snowconvert-support@snowflake.com
Last updated