find last day of month

Поиск
Список
Период
Сортировка
От Andrus Moor
Тема find last day of month
Дата
Msg-id dnadlk$13g7$1@news.hub.org
обсуждение исходный текст
Ответы Re: find last day of month
Список pgsql-general
I have a table containing month column in format mm.yyyy

create table months ( tmkuu c(7));
insert into months values ('01.2005');
insert into months values ('02.2005');

How to create select statement which converts this column to date type
containing last day of month like

'2005-01-31'
'2005-02-28'

Andrus.



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

Предыдущее
От: "Ed L."
Дата:
Сообщение: Re: is it possible to delete the psql log while psql is
Следующее
От: Jeffrey Melloy
Дата:
Сообщение: Re: find last day of month