1
我得到ORA-00920: invalid relational operator
錯誤,當我跟隨contion到我的where子句。ORA-00920:無效的關係運算符在where子句中
and (round(to_number(c.rest_time - a.TIME_STAMP) * 24 * 60)) > 5
全部Where子句
From TableA a,TableB b
where round(to_number(a.rest_time - a.time_stamp) * 24 * 60)) > 5
and a.time_stamp > '05-12-2014 22:00:00'
and a.rest_time < '05-14-2014 14:00:00'
and a.dev = 'CUSTOMER'
and b.xid = a.xid
and b.accno = a.accno
and b.name is not null
and b.dis is null
你能後的全'WHERE'條款? –
並且列的數據類型 –
您是否需要將TO_DATE添加到a.time_stamp和a.rest_time字段? – rvphx