I have a tbl_holidays table.
I have two dates [StartDate] and [EndDate]
Is it possible to write a function that looks to see how many holidays that are in the tbl_holiday table that occur between the two dates?
eg
tbl_holidays
25th December 2016
1st January 2016
StartDate: 1st December 2016
EndDate: 1st January 2016
result = 2
I have two dates [StartDate] and [EndDate]
Is it possible to write a function that looks to see how many holidays that are in the tbl_holiday table that occur between the two dates?
eg
tbl_holidays
25th December 2016
1st January 2016
StartDate: 1st December 2016
EndDate: 1st January 2016
result = 2