I don't understand the @numDays input parameter!
For example if do this,
DECLARE
@Date SMALLDATETIME
SET
@Date = dbo.fnGetNextBusinessDay ('2006-12-24', 10)
SELECT
@Date
It's suppsoe to return the date 2006-12-27 as that is the next business day.
Can someone explain please?