casting for dates

Поиск
Список
Период
Сортировка
От Vince Vielhaber
Тема casting for dates
Дата
Msg-id Pine.BSF.4.30.0109261627240.55979-100000@paprika.michvhf.com
обсуждение исходный текст
Ответы Re: casting for dates
Список pgsql-hackers
I'm trying to use an integer from a table to add/subtract time in months.
IOW:

create table foo(nummonths int);

select now() - nummonths months;

So far nothing I've tried will work - short of a function.  Is there a
way to do this?

Vince.
-- 
==========================================================================
Vince Vielhaber -- KA8CSH    email: vev@michvhf.com    http://www.pop4.net        56K Nationwide Dialup from $16.00/mo
atPop4 Networking       Online Campground Directory    http://www.camping-usa.com      Online Giftshop Superstore
http://www.cloudninegifts.com
==========================================================================





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

Предыдущее
От: "D. Hageman"
Дата:
Сообщение: Re: Spinlock performance improvement proposal
Следующее
От: Andrew McMillan
Дата:
Сообщение: Re: casting for dates