Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我刚刚在这行 SQL 代码中发现了一个错误(Invalid Number ):
WHERE NVL((submit_time - req_time) * 24 ,12121) != 12121
有人可以解释可能是什么问题吗?
你可以尝试这样的事情,以确保我们没有在这两个字段上处理 null
where decode(submit_time,NULL,12121,decode(req_time,null,12121,(submit_time - req_time) * 24))