Re: Porting from Oracl to Postgres

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Porting from Oracl to Postgres
Дата
Msg-id 200309051512.04518.dev@archonet.com
обсуждение исходный текст
Ответ на Porting from Oracl to Postgres  (Jomon Skariah <jomons@aztec.soft.net>)
Список pgsql-sql
On Friday 05 September 2003 05:24, Jomon Skariah wrote:
> Hi,
>
> Thanks for your replys.
>
> We are facing another problem now.
>
> we need to find an alternative for Oracle's ADD_MONTHS in PostGres..

SELECT now() + '1 hour'::interval;
SELECT now() + '2 days'::interval;
SELECT now() + '3 months':: interval;

See the data-types section of the manual for details.

--  Richard Huxton Archonet Ltd


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

Предыдущее
От: Rod Taylor
Дата:
Сообщение: Re: Porting from Oracl to Postgres
Следующее
От: Jeff Eckermann
Дата:
Сообщение: Re: Porting from Oracl to Postgres