search for partial dates

Поиск
Список
Период
Сортировка
От James B. Byrne
Тема search for partial dates
Дата
Msg-id 45408.216.185.71.24.1244751810.squirrel@webmail.harte-lyne.ca
обсуждение исходный текст
Ответы Re: search for partial dates  (Christophe <xof@thebuild.com>)
Re: search for partial dates  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: search for partial dates  (Andy Colson <andy@squeakycode.net>)
Re: search for partial dates  ("Leif B. Kristensen" <leif@solumslekt.org>)
Список pgsql-general
Given a datetime column, not null, is there a single syntax that
permits searching for all dates in a given year, year+month, and
year+month+day such that a single parameterised query can handle all
three circumstances?

--
***          E-Mail is NOT a SECURE channel          ***
James B. Byrne                mailto:ByrneJB@Harte-Lyne.ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: listing relations
Следующее
От: Christophe
Дата:
Сообщение: Re: search for partial dates