Extract date portion of a datetime field

Поиск
Список
Период
Сортировка
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