calculate how many hours between call opening date and current date in pl/sql

Asked

Viewed 1,031 times

1

I need to make a query that brings the calls that are outside the 48 hrs SLA calculating the dates and times of the opening of the call and current date, someone can help me?

  • I disagree , is a pertinent question.

2 answers

0

0

Subtracting two dates in Oracle results in difference in days (or fraction) to know in hours , multiply by 24.

Something like.

Select ...
From tabela
Where ...
And (datachamado - sysdate) * 24 >= 48
...

Browser other questions tagged

You are not signed in. Login or sign up in order to post.