Return multiple values from a SQL Server function

Jeremy Stein picture Jeremy Stein · Nov 10, 2008 · Viewed 222.7k times · Source

How would I return multiple values (say, a number and a string) from a user-defined function in SQL Server?

Answer

devio picture devio · Nov 10, 2008

Change it to a table-valued function

Please refer to the following link, for example.