Evolution of User-Defined Functions in Microsoft SQL Server
Proposed session for SQLBits 2026TL; DR
Explore the evolution of SQL Server UDFs from 2000 to today. Learn key milestones, performance improvements, and best practices for optimizing functions in modern environments.
Session Details
Since their introduction in SQL Server 2000, User-Defined Functions (UDFs) have become a cornerstone for many database developers seeking to encapsulate logic, improve code reusability, and enhance maintainability. This session embarks on a journey through the development and evolution of UDFs in Microsoft SQL Server, highlighting the pivotal updates, performance improvements, and new features introduced with each version.
Attendees will explore the foundational concepts of UDFs in SQL Server, understanding their initial design and limitations. The session will then navigate through subsequent versions, showcasing significant milestones such as inline table-valued functions, scalar UDF inlining, and enhancements in SQL Server 2019 and beyond. We will delve into practical examples, performance considerations, and best practices for optimizing UDFs in the modern SQL Server environment.
Attendees will explore the foundational concepts of UDFs in SQL Server, understanding their initial design and limitations. The session will then navigate through subsequent versions, showcasing significant milestones such as inline table-valued functions, scalar UDF inlining, and enhancements in SQL Server 2019 and beyond. We will delve into practical examples, performance considerations, and best practices for optimizing UDFs in the modern SQL Server environment.
3 things you'll get out of this session
- Understand the evolution of user‑defined functions in SQL Server from 2000 to modern versions.
- Evaluate key milestones, performance improvements, and limitations of scalar and table‑valued UDFs.
- Apply best practices and optimization techniques to improve UDF performance in current SQL Server environments.
Speakers
Uwe Ricken's other proposed sessions for 2026
Demystifying Clustered Indexes in SQL Server - 2026
How to properly handle LOB data in SQL Server - 2026
Leveraging JSON in Microsoft SQL Server - 2026
Uwe Ricken's previous sessions
Security techniques for cross database access
Security is given too little attention in the database environment and many times more rights are given than are necessary. Especially with CROSS DATABASE access, the goal is often overshot.
Learn how to securely access data in other databases without breaking the bank.
Partitioning for Beginners
Introduction of areas for partitioning for Beginners
Why is SQL Server waiting for what?
You are wondering why SQL Server is waiting endless for a request and you don't know what is going on inside? A look behind the curtain with comon scenarios will help you to understand and solve long waits in SQL Server.
Inside statistics-a guessing game
A query was running fast yesterday and today it suffers from performance problems. What will you do?
- restart the server (did work)
- drop the procedure cache (read in a blog article)
- get a coffee and pass in review this session about statistics
Deep dive into the secrets of Temporal Tables
Temporal Tables as a new technology in Microsoft SQL Server makes the implementation and management of data histories so easy. In this session, discover ALL the secrets of System Versioned Temporal Tables.
Daily problems with indexing and its-possible-solution
This session will demonstrate query performance issues a dba is confronted with every day. The demos will handle these scenarios and it's solution