Interval to number

Поиск
Список
Период
Сортировка
От Gareth Kirwan
Тема Interval to number
Дата
Msg-id 00fb01c1fff4$e5030cd0$55eaa8c0@gbjk1
обсуждение исходный текст
Ответ на UTF-8 safe ascii() function  (Jean-Michel POURE <jm.poure@freesurf.fr>)
Ответы Re: Interval to number
Список pgsql-admin
Postgres 7.2
I have an interval selected from a max(occurance) - min(occurance) where
bla.
I now want to multiply this by a rate - to create a charge...

If I use to_char( interval, 'SSSS');
I will get a seconds conversion - but that works on seconds since midnight -
hence
with a one day period.

Are there any better ways of converting a timestamp to an integer?


Thanks

Gareth



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

Предыдущее
От: "shreedhar"
Дата:
Сообщение: Problem in User Securities
Следующее
От: "Joel Burton"
Дата:
Сообщение: Re: Problem in User Securities