Skip to Main Content

SQL & PL/SQL

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!

Interval day to second

msbMay 6 2011 — edited May 6 2011
Dear all
I have a doubt,how to convert the INTERVAL DAY TO SECOND to character format
For eg:
 SELECT INTERVAL '4 5' DAY(3) TO HOUR FROM DUAL;
The output is:
+004 05:00:00
But i want to display output like
4DAYS  5HOURS
plz assist me how can we do this..

Thank you
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 3 2011
Added on May 6 2011
5 comments
724 views