Re: extracting date from timestamp

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: extracting date from timestamp
Дата
Msg-id 27599.1106612997@sss.pgh.pa.us
обсуждение исходный текст
Ответ на extracting date from timestamp  ("Keith Worthington" <keithw@narrowpathinc.com>)
Список pgsql-novice
"Keith Worthington" <keithw@narrowpathinc.com> writes:
> I have timestamp information in a table.  I want to extract the date portion
> for insertion into another table.

You're doing it the very very hard way.  Just cast the timestamp value
to date.

            regards, tom lane

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

Предыдущее
От: Alexander Borkowski
Дата:
Сообщение: Re: extracting date from timestamp
Следующее
От: "Rodolfo J. Paiz"
Дата:
Сообщение: Formatting a month in query output