I have a table, and one of its columns has PL/SQL instructions which always returns boolean.
For example: (say it comes from "INSTRUCTIONS.perform_this" table.column)
"BEGIN if 1 = 1 then return TRUE; else return FALSE; END;"
At this moment I am unable to run an instruction which takes the string above and returns its result into a boolean variable - that is, via "execute immediate returning into boolean". Every time I try to directly run it, I receive an error message, stating that a procedure cannot contain a return statement. The only thing I could do until now is replacing "return TRUE" and "return FALSE" with a bind variable, but I think there could be a better solution.
Your help will be greatly appreciated.