Creating timestamps in queries?

Поиск
Список
Период
Сортировка
От Rob S.
Тема Creating timestamps in queries?
Дата
Msg-id 001c01bfeaf8$96812be0$39117118@rct1.bc.wave.home.com
обсуждение исходный текст
Ответы Re: Creating timestamps in queries?  (Patrik Kudo <kudo@partitur.se>)
Список pgsql-sql
Hi all,

I would like to say,

"select * from blah where stamp >= 7 days ago"

...where the "days ago" is calculated at query time; meaning that its not
hardcoded into the query as a date string.  Is this possible?

TIA! =)

- Rob Slifka



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

Предыдущее
От: Erol Oz
Дата:
Сообщение: Re: Finding entries not in table..differnce?
Следующее
От: Patrik Kudo
Дата:
Сообщение: Re: Creating timestamps in queries?