this one's simpler

Поиск
Список
Период
Сортировка
От Eric McKeown
Тема this one's simpler
Дата
Msg-id Pine.LNX.3.96.980824190428.563A-100000@farout.palaver.net
обсуждение исходный текст
Ответы Re: [SQL] this one's simpler  (Maarten Boekhold <maartenb@dutepp2.et.tudelft.nl>)
Список pgsql-sql
Ok, I think this questions is a little bit easier.  I have this piece of
code:

select (max(date_asked) - min(date_asked))::timespan from questions ;

And it produces this output:

timespan
------------------------------------
@ 2334 days 13 hours 21 mins 45 secs
(1 row)

Now, what I'd really like is a way to format that output into months so
that I could see the difference between the two dates in terms of months.
Pointers??

TIA...

eric

_______________________
Eric McKeown
ericm@palaver.net
http://www.palaver.net


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

Предыдущее
От: Eric McKeown
Дата:
Сообщение: parts of date_part()
Следующее
От: Cho Yan Wong
Дата:
Сообщение: copy probs