I am using a derived column which takes data from an XML source to put it into a ole db destination.
In the expression I want to calculate an end date using the supplied start date and a supplied duration field.
This would be a simple dateadd expression, however I need to also account for weekends so if any of the days between the calculated dates are a non working day (saturday or sunday) then I need to increase the end date to account for this.
datename(weekday, getdate()) I know will get me the day of week but not sure how I step through the inbetween dates