Re: [SQL] time comparing

Поиск
Список
Период
Сортировка
От Patrik Kudo
Тема Re: [SQL] time comparing
Дата
Msg-id 36E519FE.935BE019@partitur.se
обсуждение исходный текст
Ответ на time comparing  (Remigiusz Sokolowski <rems@gdansk.sprint.pl>)
Ответы Re: [SQL] time comparing  (Remigiusz Sokolowski <rems@gdansk.sprint.pl>)
Список pgsql-sql
Remigiusz Sokolowski wrote:
>
> hi!
> I need to compare two values of time.
> One of them is just value of field - I want to compare it to value of
> now() less 1 hour - shortly I want to select all records which are older
> then 1 hour - how to do that?

Ah! This reminds me! I've been wondering about a similar problem. How do
I
exchange that 1 hour with one week or one month? Probably the same way
as
with one hour (if there is any easy way)...

Regards,
Patrik Kudo

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

Предыдущее
От: Remigiusz Sokolowski
Дата:
Сообщение: time comparing
Следующее
От: Remigiusz Sokolowski
Дата:
Сообщение: Re: [SQL] time comparing