I have a user defined function in SQL called getBuisnessDays it takes @startdate and @enddate and returns the number of business days between the two dates. How can I call t
Use a scalar-valued UDF, not a table-value one, then you can use it in a SELECT as you want.