dbms_output cannot print boolean?
The function bool_to_text
does not exist (and AFAIK, Oracle never had such a function).
You can use diutil.bool_to_int
to convert the Boolean to an Integer and print that:
begin dbms_output.put_line(sys.diutil.bool_to_int(true));end;