Re: Cast: timestamp to integer

Поиск
Список
Период
Сортировка
От Rory Campbell-Lange
Тема Re: Cast: timestamp to integer
Дата
Msg-id 20030612165750.GC29267@campbell-lange.net
обсуждение исходный текст
Ответ на Cast: timestamp to integer  (Michal Durys <joe@anime.com.pl>)
Ответы Re: Cast: timestamp to integer  (Arjen van der Meijden <acm@tweakers.net>)
Список pgsql-general
select cast(to_char(current_timestamp, 'd') as integer)/5;

On 12/06/03, Michal Durys (joe@anime.com.pl) wrote:
> I'd like to convert timestamp and date fields to intergers.
> Unfortunately cast() says it's impossible:
--
Rory Campbell-Lange
<rory@campbell-lange.net>
<www.campbell-lange.net>

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

Предыдущее
От: Dennis Gearon
Дата:
Сообщение: Re: [HACKERS] SAP and MySQL ... [and Benchmark]
Следующее
От: Csaba Nagy
Дата:
Сообщение: Re: Cast: timestamp to integer