Re: using between with dates

Поиск
Список
Период
Сортировка
От Szymon Guz
Тема Re: using between with dates
Дата
Msg-id i2ke4edc9361004290750l7553a58ax999f4e9b7211270c@mail.gmail.com
обсуждение исходный текст
Ответ на using between with dates  (Geoffrey Myers <geof@serioustechnology.com>)
Список pgsql-general


2010/4/29 Geoffrey Myers <geof@serioustechnology.com>
I'm trying the following:

ship_date between '04/30/2010' AND '04/30/2010' + 14

But this returns:

ERROR:  invalid input syntax for integer: "04/30/2010"

Can I use between with dates?



This should be fine:
ship_date between '04/30/2010'::date AND '04/30/2010'::date + 14

regards
Szymon Guz
 

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

Предыдущее
От: Geoffrey Myers
Дата:
Сообщение: using between with dates
Следующее
От: Thom Brown
Дата:
Сообщение: Re: using between with dates