Definitions for "user-defined function"
Keywords:  avg, udf, spl, scalar, sql
a database object that encapsulates one or more Transact-SQL statements for reuse
a function that you create, as opposed to one of the built-in JavaScript functions
a function that you write in SPL or in a language external to the database, such as the C language
Keywords:  routine, returns, defined, value
A user-defined routine that returns a value.