SQL-Challenges - Improve your SQL Server Skills
  • Home
  • SQL Challenges
    • Level 200
    • Level 300
    • Level 400
  • Contact us
  • FAQ
Select Page
SQL Challenge #11 – inlined user defined functions

SQL Challenge #11 – inlined user defined functions

by Uwe Ricken | Mar 14, 2026 | Level 200, SQL Challenges

Problem Description / Requirement A developer has heard from the new feature “Scalar UDF Inlining” and he wanted to improve a stored procedure [dbo].[get_last_order_months].This stored procedure is called 10 to 100 times per hour by the marketing...
SQL Challenge #8 – Overlapping Time Series

SQL Challenge #8 – Overlapping Time Series

by Uwe Ricken | Jul 7, 2025 | Level 400, SQL Challenges

Problem Description / Requirement This example comes from a customer from the automtive sector. Whenever a vehicle is built, EVERY single step must be precisely recorded. So-called “telegrams” are used for this purpose. These telegrams can convey simple...
SQL Challenge #4 – Nightmares with User Defined Functions

SQL Challenge #4 – Nightmares with User Defined Functions

by Uwe Ricken | Feb 9, 2025 | Level 300, SQL Challenges, Uncategorized

Problem Description / Requirement The customer has developed an application that he himself has developed and swears by the use of user-defined functions. The developers argue that user-defined functions create reusable code that makes work easier. A calculated...

SQL Challenges

  • SQL Challenge #11 – inlined user defined functions 2026-03-14
  • SQL Challenge #10 – when Database Settings impact performance 2025-11-03
  • SQL Challenge #9 – When Estimates are wrong 2025-10-22
  • SQL Challenge #8 – Overlapping Time Series 2025-07-07
  • SQL Challenge #7 – Dynamically added attributes 2025-04-07
  • Imprint
  • Data Protection
  • RSS

db Berater GmbH | | Büchenweg 4 | 64390 Erzhausen | Phone: +49 (0) 6150 5082955 | E-Mail: info@db-berater.de |    Umsetzung