Year Only Date Column

Поиск
Список
Период
Сортировка
От Jeff Flowers
Тема Year Only Date Column
Дата
Msg-id 1101215773.20912.209283327@webmail.messagingengine.com
обсуждение исходный текст
Ответы Re: Year Only Date Column  (Michael Glaesemann <grzm@myrealbox.com>)
Список pgsql-novice
I want to create a date column that contains only the year, such as
YYYY. Can this done in PostgreSQL? I didn't see this listed in the
handbook and right now, the only way I can see to do would be to create
a numeric data field with zero scale and a precision of four.


Thanks,

--
Jeff Flowers

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

Предыдущее
От: "Jeff Flowers"
Дата:
Сообщение: Re: Using PostgreSQL As A Personal Database
Следующее
От: Michael Glaesemann
Дата:
Сообщение: Re: Year Only Date Column