BFILENAME UDF
Description
This function takes the directory name and the file name parameters of the Oracle BFILENAME()
as STRING
and returns a concatenation of them using \
. Since BFILE
is translated to VARCHAR
, the BFILENAME
result is handled as text.
The \
must be changed to match the corresponding operating system file concatenation character.
Custom UDF overloads
BFILENAME_UDF(string, string)
It concatenates the directory path and the file name.
Parameters
DIRECTORYNAME: A
STRING
that represents the directory path.FILENAME: A
STRING
that represents the file name.
Oracle
IN -> Oracle_01.sql
Snowflake
OUT -> Oracle_01.sql
Known Issues
1. No access to the DBMS_LOB built-in package
Since LOB data types are not supported in Snowflake there is not an equivalent for the DBMS_LOB
functions and there are no implemented workarounds yet.
Related EWIs
Last updated