Creating a User-Defined Function
Unlike the output of a stored procedure, the result of a UDF can be accessed in a select statement
Creating a User-Defined Function
Unlike the output of a stored procedure, the result of a UDF can be accessed in a select statement