Re: SQL Challenge: Skip Weekends

From: "Josh Berkus" <josh(at)agliodbs(dot)com>
To: Joe Conway <mail(at)joeconway(dot)com>, josh(at)agliodbs(dot)com
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: SQL Challenge: Skip Weekends
Date: 2002-06-21 19:31:23
Message-ID: web-1552107@davinci.ethosmedia.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Josh Berkus 2002-06-21 19:37:27 Re: skip weekends
Previous Message Josh Berkus 2002-06-21 19:29:27 Re: SQL Challenge: Skip Weekends