Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2000-08-24 : 08:25:21
|
Stv writes "Hi there I live in Canada and I have a requirement for a SP that will output a corrected due date from an input date if the input date falls on a weekend or a holiday. For example, if the input date falls on a Saturday or Sunday, the output date would be the next Monday. That part is simple. However, I need a SP that will also know if the input date is Good Friday, Victoria Day, Labour Day etc. and adjust the output date accordingly. I would like to stay away from having to manually input holiday dates into a table each year, but I haven't found a reliable way to dynamically calculate these oddball holidays which fall on a different date each year.
I'm using SQL Server 7.0 on NT4 SP5
Any ideas?"
|
|
|
|
|
|