I had a next query, which doesn't work:
SELECT case BasePak.SomeFunction(333,4,5555) when true then 1 else 0 end
from dual
BasePak.SomeFunction(333,4,5555) returns boolean value. How to convert result(true, false) to number or string?
I tried cast function but not successful.
Is there any way to convert boolean to int or string?