I have successfully be able to calculate the working hours with holidays loaded from an excel spreadsheet as shown below. I have now created a table in a database with the holidays in instead as it will be easier to maintain. How do i change the script to pull the holidays from a database instead of the excel sheet.
tmpHoliday:
LOAD [PUBLIC HOLIDAY]asHoliday, Date FROM C:\Users\121012355\Desktop\holidays.xlsx (ooxml, embeddedlabels, tableis Sheet1);
tmpConcat: LOADconcat(chr(39) & Date & chr(39),',') ASHolidayDates RESIDENT tmpHoliday;