Function

A type of routine that returns a result. Functions can be built-in functions or user-defined functions (UDFs) created using the CREATE FUNCTION SQL command.