Topic: SQL*Plus and PL/SQL >> how to add time format 00:00:00
|
Disclaimer: The purpose of all dbapool forums including OCP and Other Oracle Certification forums is to help each other with specific issues but not to share dump and copyrighted exam content, materials or intellectual property.
You may review the entire Oracle Certification Program Candidate Agreement online Here.
|
|
|
|
| Title: how to add time format 00:00:00 |
| lucky |
Posted: Mar 05, 2008 01:24:16 AM |
Total Post: 1
Joined: Aug, 2007
|
i have a column "duration" which contains 001:10:05 and 000:10:30 , i want to sum them and get the result.
is there any built function which can convert varchar to time format?? |
|
|
arun |
| Posted: Mar 10, 2008 05:08:16 AM | |
|
Total Post: 28
Joined: Sep, 2007
|
try this
select to_char(to_timestamp(to_char('01:10:05'),'hh.mi,ss'),'hh.mi.ss') from dual
|
|
|
|
|
| Time Zone: EDT |
Send this thread to your friend |
|
|
|
|
Forum Rules & Description
Who Can Read The Forum? Any registered user or guest
Who Can Post New Topics? Any registered user
Who Can Post Replies? Any registered user
|
| |
Get FREE Magazines
|
Top 10 Forum User
|
| Murtuja Khokhar | 857 |
| Mohammed Taj | 746 |
| positive fanatic | 483 |
| Jayanta Sur | 479 |
| Vigyan Kaushik | 386 |
| Vinoth Kumar | 363 |
| Gopu Gopi | 340 |
| Gitesh Trivedi | 322 |
| neeraj sharma | 258 |
| Ramesh Jois | 246 |
|
|