seleting all dates between two dates

Поиск
Список
Период
Сортировка
От Jeff Barrett
Тема seleting all dates between two dates
Дата
Msg-id 9f8pg1$kem$1@news.tht.net
обсуждение исходный текст
Ответы Re: seleting all dates between two dates  ("Josh Berkus" <josh@agliodbs.com>)
Re: seleting all dates between two dates  (george young <gry@ll.mit.edu>)
Список pgsql-sql
I am interested in a query where I can select all dates between two dates. I
figure I can build a table of all valid dates with a resonable range and
then select from that table, but I would like to use the power of sql to get
the work done without building a date table. Any ideas?

For example:
I want all dates between 05-29-2001 and 06-02-2001
The result set would be:
05-30-2001
05-31-2001
06-01-2001

Thanks for the help.
-Jeff




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

Предыдущее
От: "Clayton Cottingham aka drfrog"
Дата:
Сообщение: help with a function
Следующее
От: Dennis Muhlestein
Дата:
Сообщение: Foreign Keys and Inheritance