WorkingDaysDiff complementary UDF for DATEDIFF

We frequently have to work out a date based on a number of working days before or after a specified date, excluding Saturdays and Sundays.Attached is the script to create the function.  I call another function called fn_Midnight which was designed to help whe programmers get a date with no time portion without having to […]

2002-10-22

464 reads

Blogs

Redgate Software Needs You!

By

I’ve been very blessed to be able to work for Redgate Software. We’ve done...

Extended Events: Database Auditing

By

Extended Events can do things that simply are not possible with Profiler and another...

Speaking for Omaha Azure User Group Wednesday

By

This Wednesday, February 26th, I will be presenting a new session entitled “All Things...

Read the latest Blogs

Forums

Time for a New Adventure with Redgate

By Kendra Little

Comments posted to this topic are about the item Time for a New Adventure...

Introduction to Indexed Views in SQL Server

By Archana

Comments posted to this topic are about the item Introduction to Indexed Views in...

Any way to find the name given to a session\'s local temp table?

By TheGreenShepherd

Someone made a change to the code base, inserting a bunch of records to...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers