Help with date diff calculation
I am trying to calculate the difference between two dates fields using SQL. Unfortunately, Oracle SQL doesn't allow the DATEDIFF function. I was given code via an SR but it doesn't work (I'm able to save the code but when I try to look at the sample data, it just says "error").
The two date fields are "timestamp" format (date and time).
Thanks in advance for any help; this has been driving us crazy for a few months now.