FROM_BYTES
Translation specification for transforming the TO_CHAR function into an equivalent function concatenation in Snowflake
Description
The FROM_BYTES function encodes a sequence of bits into a sequence of characters representing its encoding. For more information check FROM_BYTES(Encoding).
Snowflake does not have support for FROM_BYTES function, however, some workarounds can be done for the most common occurrences of this function.
Sample Source Patterns
Teradata
IN -> Teradata_01.sql
Snowflake
OUT -> Teradata_01.sql
Some parts in the output code are omitted for clarity reasons.
Known Issues
TO_NUMBER format parameter must match with the digits on the input string.
There is no functional equivalent built-in function for FROM_BYTES when encoding to ANSI
Related EWIs
SSC-EWI-0031: FUNCTION NOT SUPPORTED
Last updated