Possible Duplicate:
Is there a Max function in SQL Server that takes two values like Math.Max in .NET?Is there a Max function
Possible Duplicate:
Is there a Max function in SQL Server that takes two values like Math.Max in .NET?Is there a Max function