About 884,000 results
Open links in new tab
  1. SQL User-defined functionsSQL Tutorial

    In summary, SQL User-Defined Functions are powerful tools for enhancing the functionality and organization of code within a database. They provide a means for encapsulating logic, …

  2. User-Defined Functions - SQL Server | Microsoft Learn

    Nov 18, 2025 · Like functions in programming languages, SQL Server user-defined functions are routines that accept parameters, perform an action, such as a complex calculation, and return …

  3. User Defined Functions in SQL - Tutorial Gateway

    Let us see how to create or write different types of user defined Functions in SQL Server with an example. For this UDF demonstration, we will use the [MyEmployee table] and [Department] …

  4. Learn SQL: User-Defined Functions

    Feb 25, 2020 · While our queries will be simple, there is no reason why you wouldn’t use user-defined functions in much more complex queries as well. Whenever you’re working with …

  5. SQL Server User Defined Function Example

    Nov 1, 2019 · SQL Server offers three types of user defined functions (udf) and in this tip we will cover examples for each of the three major types of user-defined function types: scalar-valued, …

  6. SQL User-Defined Functions (UDFs) | by Jiayan Yin - Medium

    Aug 22, 2024 · Besides UDFs, SQL provides Built-in Functions (or Native Functions). Built-in Functions, pre-defined by SQL, includes string functions, numeric function, data and time …

  7. Understanding User-Defined Functions in SQL Server

    Mar 20, 2025 · SQL Server offers three types of user-defined functions (UDFs): scalar-valued, table-valued, and multi-statement table-valued. Each type of UDF has its own use cases and …

  8. SQL Server User-defined Functions - SQL Server Tutorial

    You will learn about SQL Server user-defined functions including scalar-valued functions and table-valued functions to simplify your development.

  9. SQL Server Functions: Create, Alter, Call - TutorialsTeacher.com

    Learn what are user-defined functions in SQL Server. Functions in SQL Server are similar to functions in other programming languages.

  10. Create User-Defined Functions (Database Engine) - SQL Server

    Nov 18, 2025 · This article describes how to create a user-defined function (UDF) in SQL Server by using Transact-SQL. User-defined functions can't be used to perform actions that modify …