Like most databases created in the last few decades, SQL Server allows developers to extend the database by creating functions.