SQL Server: Lesser() Function Leave a reply A SQL Server, scalar-value function that returns the lesser of two dates.