Technical Article

IsDateAHoliday UDF

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

4 (1)

2005-06-13 (first published: )

281 reads

Technical Article

IsDateAHoliday UDF **NEW**

This is a replacement script for the first IsDateAHoliday. The first one was too slow and inefficient. This one is much better. Enjoy.IsDateAHoliday is a User Defined Function that accepts a date and returns a 1 if date is a national holiday and returns a 0 otherwise.The holidays are:New years Day, MLK Day, Presidents Day, […]

3.5 (2)

2005-06-03

404 reads

Blogs

Enjoying SQL Bits

By

It’s been a good week at SQL Bits. This is my favorite conference, and...

Data Tester Diary: Jak jsem úspěšně složila ISQTB certifikaci

By

V Joyful Craftsmen máme skvělý bonus (tzv. SGP), v rámci, kterého se můžeme vzdělávat v...

KQL Series – KQL the next query language you need to learn – a video from Data Exposed

By

I love KQL so much I even made a video and if you compare...

Read the latest Blogs

Forums

SQL Server RLS Database Users and Login User Permission

By Irakli Lomidze

Please suggest practice on SQL Server RLS On the database level, defined users with...

SSIS connection manager password update

By vibhuti

Hello, I have 3 SSIS packages having connection manager defined with a userA. These...

optimize for adhoc workload setting

By bobrooney.81

Hi Experts, What is 'optimize for ad hoc workloads' do mean in short? I...

Visit the forum

Ask SSC Logo Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers