GREATEST and LEAST: New Functions to Improve our Messy T-SQL!

Added in SQL Server 2022, GREATEST and LEAST provide a huge boost to queries that need to compare values in a simple, set-based fashion.

Gone are the endless CASE statements or other hacks that litter our code! This session dives into these two new T-SQL functions discussing how they work, when to use them, and how to refactor our old, messy code to use them.

Edward Pollack

Data Architect | Microsoft Data Platform MVP

Albany, New York, United States


Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top