User-Defined Functions in T-SQL

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.

Updated

Cheat sheet: User-Defined Functions in T-SQL
Category
SQL
Level
Journeyman
Tags
dbo Schema, sql, Table-Valued Function, t-sql, User-Defined Function