Función de llamada en la consulta SQL Server

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