I'm trying to find the difference between a TIMESTAMP(6)
field and a DATE
field in oracle sql to return number of days.
Anyone know how to convert these?
I'm trying to find the difference between a TIMESTAMP(6)
field and a DATE
field in oracle sql to return number of days.
Anyone know how to convert these?
i tried to_date, to_number and a few other functions. I actually got it to work by using trunc on my datetimestamp
(a.date- trunc(b.datetimestamp))