Reputation: 1520
I just found out an error (Invalid Number) in this line of SQL code:
WHERE NVL((submit_time - req_time) * 24 ,12121) != 12121
Can someone explain what may be the problem?
Upvotes: 0
Views: 763
Reputation: 1196
Can you try something like this , to make sure that we are not dealing with null on those two fields
where decode(submit_time,NULL,12121,decode(req_time,null,12121,(submit_time - req_time) * 24))
Upvotes: 1