Question Locked
days between dates in PL/SQL
0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I have this condition in my code:
months_between (sysdate, TBLastTestDate) > 2
but I really want to count days, not months, and PL/SQL seems not to have a days_between function. What blindingly simple technique am I overlooking?