将 oracle 查询放在 oracle if else 语句中时出现问题
select workgroupid, maxchats,
case
when a.maxchats ='-1' then
(select propvalue from ofproperty where name = 'xmpp.live.defaults.maxchats')
else
null (1)
end as aaaa
from fpworkgroup a;
当我将 maxchats 放在 1 个位置时,我得到了错误,,
我该如何解决这个......?
帮帮我..提前谢谢