grabbing date of last Sunday?

Поиск
Список
Период
Сортировка
От blackwater dev
Тема grabbing date of last Sunday?
Дата
Msg-id 34a9824e0810100829x74617636idae0933ec98e14d4@mail.gmail.com
обсуждение исходный текст
Ответы Re: grabbing date of last Sunday?  (Raymond O'Donnell <rod@iol.ie>)
Список pgsql-general
How can I grab the date from the last Sunday based on when I run the query?

For example I run it today, and I need to date of 10-5-08, if I ran it next week, I would want 10-12-08, etc.


Thanks!

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

Предыдущее
От: Bill Thoen
Дата:
Сообщение: Bug In COPY TO?
Следующее
От: Raymond O'Donnell
Дата:
Сообщение: Re: grabbing date of last Sunday?