Функция вызова в запросе SQL Server

SELECT dbo.GetBusinessDays(a.opendate,a.closedate) as BusinessDays
FROM account a
WHERE...
Helpless Hare