Convert time to millisec?

Поиск
Список
Период
Сортировка
От Bjørn T Johansen
Тема Convert time to millisec?
Дата
Msg-id 20060828104847.281e0727@foxhound
обсуждение исходный текст
Ответы Re: Convert time to millisec?  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-general
I have a statement looking like this...:

select sum(Til - Fra) as total from Log_stop where OrdreID = 3434

but I would like the result to be in milliseconds, is this possible? If so, how?
(the fields Til and Fra is of type Time)



Regards,

BTJ

--
-----------------------------------------------------------------------------------------------
Bjørn T Johansen

btj@havleik.no
-----------------------------------------------------------------------------------------------
Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange Satanic messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows"
-----------------------------------------------------------------------------------------------

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

Предыдущее
От: Ragnar
Дата:
Сообщение: Re: optimising UNION performance
Следующее
От: Rafal Pietrak
Дата:
Сообщение: Re: optimising UNION performance