SSC-EWI-OR0005

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

This EWI is deprecated, please refer to SSC-FDM-OR0043 documentation.

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
!!!RESOLVE EWI!!! /*** SSC-EWI-OR0005 - 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