Is there a Max function in SQL Server that takes two values like Math.Max in .NET? Is there a Max function in SQL Server that takes two values like Math.Max in .NET? sql-server sql-server