User-Defined Functions in T-SQL
User-Defined Functions in T-SQL: User-Defined Functions in T-SQL.
Updated
- User-Defined Functions in T-SQL (Journeyman): Write your own functions. A scalar function returns one value and works inside any query; a table-valued function returns rows and works like a table that takes parameters.