MSCEWI2081

Translate function TO_UNICODE encoding is not required

This is a deprecated version of the SnowConvert documentation, please visit the official site HERE.

Severity

Low

Description

The usage of the Translate function using someEncoding_TO_UNICODE argument is not relevant in Snowflake since its default encoding is UTF-8. The function is removed during the translation.

Example code

Input code

SELECT Translate('abc' USING LATIN_TO_UNICODE);

Output code

SELECT
'abc' /*** MSC-WARNING - MSCEWI2081 - TRANSLATE FUNCTION TO_UNICODE ENCODING IS NOT REQUIRED ***/;

Recommendations

Last updated