DATE formatting problem again

Поиск
Список
Период
Сортировка
От Forgacs Tamas
Тема DATE formatting problem again
Дата
Msg-id 38BBC9D2.DCB94658@negral.hu
обсуждение исходный текст
Список pgsql-sql
Hello,

I am searching after the date formatting solution, but didn't found a
correct one.

So example ORACLE has   - to_char function to make any kind of date format from a date type:
to_char(now,'yyyy.mm.dd')   - to_date to makes a date type from any kind of string: to_date
('1999.11.23','yyyy.mm.dd')

I don't believe that this very easy thing is not made in PostgreSQL. It
can be made as function also, but I have no time to learn PL/pgSQL
languague...

By the way: how can You use wildcards for date type  (with to_char is
easy, but without??)

Regards:
FT

!!!PLEASE MAIL THE ANSWER TO ME ALSO: efte@negral.com




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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: RE: [SQL] prob with aggregate and group by - returns multiples
Следующее
От: Thomas Lockhart
Дата:
Сообщение: Re: [HACKERS] Re: [SQL] prob with aggregate and group by - returnsmultiples