为什么呢?怎样才可以呢?
------解决方案--------------------
boolean?
还是
set serveroutput on
/
declare v boolean = true;
begin
dbms_output.putline(v);
end;
/
------解决方案--------------------
测试了一下,不可以
oracle 11g r2
------解决方案--------------------
布尔型不能直接to_char
可以这样写
dbms_output.put_line(case BOOLEAN when true then 'TRUE' else 'FALSE' end);