Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Converting INTERVALs to and from bare numbers
Salve.
I have an application in which I would like to convert a number of seconds into an INTERVAL DAY TO SECOND value and, later, back to a number of seconds. For reasons relating to inter-database portability, I'd like to do this in a stored function, not in the database client application.
Some time spent on google hasn't shown any good ways to approach this. Any suggestions?
Owen Received on Sun Mar 13 2005 - 19:35:36 CST
![]() |
![]() |