Sql 如何使用BIRT将布尔值转换为字符串
我有这样一个问题:Sql 如何使用BIRT将布尔值转换为字符串,sql,eclipse,birt,Sql,Eclipse,Birt,我有这样一个问题: select myId, myName, myBoolean from myTable 我希望得到一张BIRT桌: if myBoolen is true, print `smart` else print `sorry you're ...` select myId, myName, case when myBoolean = 1 then 'smart' else 'sorry ...
select myId, myName, myBoolean from myTable
我希望得到一张BIRT桌:
if myBoolen is true, print `smart` else print `sorry you're ...`
select myId,
myName,
case when myBoolean = 1
then 'smart'
else 'sorry ...'
end
from myTable