MSCEWI3005

BFILE/BLOB parameters are considered binary. A format may be needed.

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

Severity

Low

Description

This error happens when a TO_CLOB is converted to a TO_VARCHAR function. A format may be needed for BFILE/BLOB parameters.

Example Code

Input Code:

SELECT TO_CLOB('Lorem ipsum dolor sit amet') FROM DUAL;

Output Code:

SELECT
/*** MSC-WARNING - MSCEWI3005 - BFILE/BLOB PARAMETERS ARE CONSIDERED BINARY, FORMAT MAY BE NEEDED ***/
TO_VARCHAR('Lorem ipsum dolor sit amet') FROM DUAL;

Recommendations

  • Check if outputs in the input code and converted code are equivalent and add a format parameter if needed.

  • If you need more support, you can email us at snowconvert-support@snowflake.com

Last updated