Extract date portion of a datetime field

Поиск
Список
Период
Сортировка
От JORGE MALDONADO
Тема Extract date portion of a datetime field
Дата
Msg-id CAAY=A7_Fc=ytKMeghsKdSNsohXAJy345KQnXvCKsD+M60n26hQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: Extract date portion of a datetime field  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Extract date portion of a datetime field  (Scott Ford <scott.ford@bullfrogpower.com>)
Re: Extract date portion of a datetime field  ("David G. Johnston" <david.g.johnston@gmail.com>)
RE: Extract date portion of a datetime field  (Stephen Froehlich <s.froehlich@cablelabs.com>)
Список pgsql-novice
Hello,

I have a table with a datetime field which saves (of course) date and time information. I need to design a query to count the number of records of each date without taking into account the time portion. I have seen that I can use functions like EXTRACT but I do not find how to extract the whole date only.

I will very much appreciate your feedback.

Respectfully,
Jorge Maldonado

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

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: Setting shared_buffers No Effect
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Extract date portion of a datetime field