Anruffunktion in Abfrage SQL Server

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