HiAll, 我收到了错误
ORA-01847:每月的日期必须介于1月和最后一天之间 01847. 00000 - "每月的日期必须介于1和1的最后一天之间"
请在此建议,以下是我在查询中使用的示例
when ((
(( x.DailyKMUsage * (trunc(x.std)-trunc(x.ced)) ))
/ case when x.ckm <= 0 then 1 else x.ckm end
)*100 ) > 0
then (((
(( x.DailyKMUsage * (trunc(x.std)-trunc(x.ced)) ))
/ case when x.ckm <= 0 then 1 else x.ckm end
)*100 )|| '% Over Utilised')
when ((
(( x.DailyKMUsage * (trunc(x.std)-trunc(x.ced)) ))
/ case when x.ckm <= 0 then 1 else x.ckm end
)*100 ) < 0
then (((
(( x.DailyKMUsage * (trunc(x.std)-trunc(x.ced)) ))
/ case when x.ckm <= 0 then 1 else x.ckm end
)*100 )|| '% Under Utilised')