Temporal query question

Поиск
Список
Период
Сортировка
От Stefano Bonnin
Тема Temporal query question
Дата
Msg-id 006001c4d6c7$955fdc60$0501a8c0@comai04
обсуждение исходный текст
Ответы Re: Temporal query question
Re: Temporal query question
Список pgsql-general
Hi all,
 
I have a "simple" question about the following temporal query with "interval" operator:
 
can I define a query of this type?
 
select myfield,numeric_field from mytable where temporal_attribute < temporal_attribute - interval numeric_field || ' days'
 
obviously this syntax is wrong.
In other words, is there a way to define a query with a interval operator with variable argument?
Thanks
Stefano

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

Предыдущее
От: Tino Wildenhain
Дата:
Сообщение: Re: change natural column order
Следующее
От: deepthi@granwill.com
Дата:
Сообщение: Maximum limit on int in plpgsql