what is function in sql server
In SQL Server, functions adhere much more closely to their mathematic definition of mapping a set of inputs to a set of outputs. SQL Serverâs functions accept parameters, perform some sort of action, and return a result. They do all of this with no side effects.