SSC-EWI-OR0121
Using DBMS_LOB.SUBSTR built-in package with a BFILE column is not supported in Snowflake
Severity
Medium
Description
Oracle BFILE columns are migrated to VARCHAR in Snowflake. The file name is stored as a string in the new column. Therefore, using a SUBSTR function, in Snowflake, on the migrated column will return a substring of the file name. While Oracle DBMS_LOB.SUBSTR will return a substring of the file content. For more information review BFILE data type.
Example Code
Input Code:
IN -> Oracle_01.sql
Output Code:
OUT -> Oracle_01.sql
Recommendations
Review the documentation for handling files with Snowflake here.
If you need more support, you can email us at snowconvert-support@snowflake.com
Last updated