Re: [SQL] Week of year function?

Поиск
Список
Период
Сортировка
От Zakkr
Тема Re: [SQL] Week of year function?
Дата
Msg-id Pine.LNX.3.96.991026094248.12578B-100000@ara.zf.jcu.cz
обсуждение исходный текст
Ответ на Re: [SQL] Week of year function?  ("Zot O'Connor" <zot@zotconsulting.com>)
Список pgsql-sql
Hi,
in _any_ next PostgreSQL version (perhaps) will include the oracle compatible 
to_char(datetime, text), this routine allows arbitrary formatting for 
datetime-text outputs. Example:

template1=> select to_char(now(), 'My week: WW');
to_char
-----------
My week: 43
(1 row)
                        Zakkr

------------------------------------------------------------------------------
<zakkr@zf.jcu.cz>                                http://home.zf.jcu.cz/~zakkr/

Kim Project:  http://home.zf.jcu.cz/~zakkr/kim/              (process manager)
FTP:          ftp://ftp2.zf.jcu.cz/users/zakkr/              (C/ncurses/PgSQL)
------------------------------------------------------------------------------
       ...and cathedral dilapidate
 




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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [SQL] possible bug?
Следующее
От: John Ridout
Дата:
Сообщение: RE: [SQL] Access and field sizes