convert integer to interval ?

Поиск
Список
Период
Сортировка
От pilsl@goldfisch.at
Тема convert integer to interval ?
Дата
Msg-id 20030208190031.GB13161@goldfisch.at
обсуждение исходный текст
Ответы Re: convert integer to interval ?
Список pgsql-general
Sorry, I dont get familar with timefunctions in 7.3.2.  I just
upgraded and I need a function that adds a given interval in days to a
given timestamp.

something like
select current_timestamp+interval '7 days';

in my table the 7 is given as integer. And I dont get the conversion
from this integer to interval where the integernumber is in days.

thnx,
peter

--
mag. peter pilsl
IT-Consulting
tel: +43-699-1-3574035
fax: +43-699-4-3574035
pilsl@goldfisch.at
http://www.goldfisch.at

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