I have an Oracle schema where I have some functions and some packages that have functions inside.
How to check if a string value is a function name in my schema, and if so, return the result of the function or if it is not a function to return the string value?
I tried to start with
SELECT * FROM ALL_OBJECTS WHERE OBJECT_TYPE IN ('FUNCTION','PROCEDURE','PACKAGE','PACKAGE_BODY')
but this does not return function names inside packages. Thanks!
source share