Fundamentals of Table Expressions, Part 12 – Inline Table-Valued Functions
SQL Performance
OCTOBER 13, 2021
I also compare them with stored procedures, mainly focusing on differences in terms of default optimization strategy, and plan caching and reuse behavior. In my examples I’ll use a sample database called TSQLV5. GetTopCustOrders2 @custid = 2 , @n = 3 ; The cached parameterized plan shown in Figure 3 is reused again.
Let's personalize your content