On 26/11/2008 18:54, Kevin Kempter wrote:

> I have a table that contains 2 columns ts (a timestamp) and dursec (a float - 
> number of seconds)
> 
> I want to insert the following into another table:
> 
> the ts (timestamp column) and a second date which is ts + dursec

Something like this? -

select ts, ts + (dursec * interval '1 second')....

Ray.

------------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
[EMAIL PROTECTED]
Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
------------------------------------------------------------------

-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to