I have a custom function in SQL called getBuisnessDays, it takes @startdate and @enddate and returns the number of working days between two dates. How can I call this function inside my choice?
Here is what I would like to do.
SELECT getBusinessDays(a.opendate,a.closedate) FROM account a WHERE ...
sql sql-server select user-defined-functions
madcolor Dec 12 '08 at 19:16 2008-12-12 19:16
source share