Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin.
Search for scripts directly from SSMS, and instantly access any saved scripts in your
SSC briefcase from the favorites tab.
Download now (direct download link)
Thank this author by sharing:
By Scott Thomas, AAP,
There are ten holidays that are observed by the Federal Reserve. Although some bank branches may be open, the Fed will be closed. When they are closed, ACH transactions like direct deposit and automatic debits do not occur. This impacts things like payroll or accounts receivable.
Some holidays always occur on a business day, like Memorial Day. What happens if a holiday like July 4 falls on a weekend? If a holiday falls on a Saturday, the Federal Reserve will be open for business as usual on the Friday before. But if a holiday falls on Sunday, they will be closed on the following Monday.
This script will create a new table, and flag dates that are holidays which are observed by the Federal Reserve. When the normal holiday is a Sunday, the script will also mark the following Monday as the observed holiday.
What is Federation?
Federation is a database object like other objects such as tables, vie...
Create the definition of your holidays and have them available for any year. Create a Calendar incl...
Thought this might be helpful. I've written a T-SQL function that returns a federal holiday name ba...
When you take a job, do you ask about holidays? Do you consider them a benefit? Andy Warren asks wha...
I need to find a way to skip holidays for a scheduled job.