Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 

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)

IsDateAHoliday UDF

By Joe Colletti,

This is a User Defined Function that returns a 1 if date is a holiday else, it returns a 0.
The holidays are:
New years Day, MLK Day, Presidents Day, Memorial Day, Independance Day, Labor Day, Columbus Day, Veterans Day, Christmas Eve and Christmas Day

Total article views: 273 | Views in the last 30 days: 1
 
Tags
miscellaneous    
 
Contribute