Re: SQL Challenge: Skip Weekends

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: SQL Challenge: Skip Weekends
Дата
Msg-id web-1552107@davinci.ethosmedia.com
обсуждение исходный текст
Ответ на Re: SQL Challenge: Skip Weekends  (Joe Conway <mail@joeconway.com>)
Список pgsql-sql
Joe,

> How about this (a bit ugly, but I think it does what you want --
> minus the holidays, which you said you already have figured out):
> 
> create or replace function
>   get_future_work_day(timestamp, int)

Thank you.  Once again, you come to the rescue when I'm stuck.  I'll
try your solution and Jean-Luc's, and see which works better/faster. And report back.

-Josh Berkus


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

Предыдущее
От: "Josh Berkus"
Дата:
Сообщение: Re: skip weekends
Следующее
От: Dirk Lutzebaeck
Дата:
Сообщение: Can somebody help me to optimize this huge query?