In Transact-SQL (T-SQL) User-Defined Functions allows to define our own function to perform logical calculations and it returns the result set of an action as a value. Scalar User-Defined Function, Inline table valued function and Multi-statement table valued function are three types of user-defined functions in T-SQL. This lab is divided into five exercises explaining scalar user defined functions, inline table valued functions and multi valued table valued functions.
Exercise 1: CREATE and implement a Scalar User-Defined Function
Exercise 2: CREATE and implement an Inline table valued function
Exercise 3: CREATE and implement a Multi-statement table valued function
Exercise 4: Self-Assessment
Exercise 5: T-SQL Challenge