Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

difference in milliseconds between starttimestamp and endtimestamp

565797Feb 15 2013 — edited Feb 19 2013
I'm having this issue....

I have 2 columns starttimestamp and endtimestamp and both have 13:45:57 on their time...
I would like to know the milliseconds of difference between them..How can achieve that....

select (ENDTIMESTAMP-STARTTIMESTAMP) as tempo_execucao
from eil_adapter_log_view
WHERE TO_DATE ('13-02-2013 13:30:00', 'dd-mm-yyyy hh24:mi:ss') < starttimestamp
AND TO_DATE ('11-02-2013 14:30:00', 'dd-mm-yyyy hh24:mi:ss') > starttimestamp
and interfacename = 'Inbound/GetPortfolio.process'
order by starttimestamp desc;

Can anyone help?

Best Regards,
Rui Oliveira
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 19 2013
Added on Feb 15 2013
7 comments
488 views