User-Defined Functions

Watch the first few minutes on us! If you'd like to watch the entire video and hundreds more like it, download code samples, access offline videos and skills assessments, and use the discussion forums, log in or purchase a subscription.


Mark Dunn


User-defined functions (UDFs) are a great way to build reusable modules of SQL script that can be used in other queries. In this lesson, we look at the three types of user-defined functions available in SQL Server, how to use them, and how they compare to stored procedures.

Table of Contents

{{toc.Position}} {{toc.Text}}

Related Links

  • {{link.LinkText}} (requires a paid subscription)


This course is part of the following series: