Unable to capture the result in output

hi guys i am invoking a function from database throgh dynamic sql ,the adapter is running but it is not giving any output in the result

What is the output when you execute this query directly in your database?


It should bring mostly if true or false for valid input