Question on interval

Поиск
Список
Период
Сортировка
От Wei Weng
Тема Question on interval
Дата
Msg-id 46290C34.9080507@kencast.com
обсуждение исходный текст
Ответы Re: Question on interval  ("Rodrigo De León" <rdeleonp@gmail.com>)
Re: Question on interval  (Michael Glaesemann <grzm@seespotcode.net>)
Re: Question on interval  (Scott Marlowe <smarlowe@g2switchworks.com>)
Список pgsql-sql
Hi all.

How do I write a query that converts an interger to the interval type?

Like convert integer 10 to INTERVAL '10 seconds'?

The integer is a column in a table though, so it is more like convert 
integer tbl.theInteger to INTERVAL 'tbl.theInteger seconds".

Thanks!


Wei



В списке pgsql-sql по дате отправления:

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: Retrieve month from date
Следующее
От: "Rodrigo De León"
Дата:
Сообщение: Re: Question on interval