Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

computing elapsed time in minutes

Status
Not open for further replies.

patnim17

Programmer
Jun 19, 2005
111
US
hi,
I need to compute the elapsed time in minutes, since an update occured in the table..and I am using this quesry to find thsi out..Just wnated to know if there would be a problem in using this:

select * from TABLE1 where date_last_modified < SYSDATE - (60/1440);

so in this case I wanted to know if any records are modified in the TABLE1 from the past 1 hour.??

Pat
 




Hi,

Everything WITHIN the last hour...
Code:
select * 
from TABLE1 
where  date_last_modified >= SYSDATE - (1/24);


Skip,

[glasses] [red][/red]
[tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top