Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Converting INTERVALs to and from bare numbers

Re: Converting INTERVALs to and from bare numbers

From: DA Morgan <damorgan_at_x.washington.edu>
Date: Sun, 13 Mar 2005 20:02:29 -0800
Message-ID: <1110772755.777351@yasure>


angrybaldguy_at_gmail.com wrote:
> 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

What is the issue?

For demos of some of the functionality you will need: http://www.psoug.org
click on Morgan's Library
click on Timestamp
or
click on Functions

-- 
Daniel A. Morgan
University of Washington
damorgan_at_x.washington.edu
(replace 'x' with 'u' to respond)
Received on Sun Mar 13 2005 - 22:02:29 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US