I have a file containing a WITH FUNCTION. Because of security limitations, I can not place the function into the database, so I am using the excellent WITH FUNCTION syntax to get around that limitation.
I have tried to include the function (starting with the WITH) in a SQL DEVELOPER CALL Using:
@x:fldr1fldr2WITH_FUNCTION.sql
SELECT WITH_FUNCTION(arg) FROM DUAL;
I get an error message that function is bad, even though if I copy the body of the function in the calling window it works fine.
I have tried removing the WITH in the included file and putting it into the calling window:
WITH
@x:fldr1fldr2WITH_FUNCTION.sql
SELECT WITH_FUNCTION(arg) FROM DUAL;
Get a WITH syntax error message, What magic is required to make this work?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…