I currently have a function in my SQL database that adds a certain amount of business days to a date, e.g. if you enter a date that is a Thursday and add two days, it will r
This is an old thread but I just created a table with all the dates then did this:
SELECT Count(*) FROM Date_Table WHERE [day] BETWEEN @StartDate and @EndDate AND DATENAME(weekday, [day]) NOT IN ('Sunday', 'Saturday')