
October 15th, 2012, 08:24 AM
|
|
Registered User
|
|
Join Date: Oct 2012
Posts: 2
Time spent in forums: 30 m 10 sec
Reputation Power: 0
|
|
|
Re: display time in munites
Hi thanks for the feedback. I found the following from OTN.
SQLWKS> select round((col1 + col2)/60,2) org_ans
2> from (select 1240 col1, 852 col2
3> from dual
4> ) a
5>
ORG_ANS 34.87
1 row selected.
SQLWKS> select trunc((col1 + col2)/60) min,
2> mod((col1 + col2), 60) sec
3> from (select 1240 col1, 852 col2
4> from dual
5> ) a
6>
MIN SEC ----------
34 52
|