MAX (SQL Server Compact)
Returns the maximum value in the expression.
- ALL
-
Applies the aggregate function to all values. ALL is the default.
- expression
-
A constant, column name, or function, and any combination of arithmetic, bitwise, and string operators. MAX can be used with numeric, character, and datetime columns, but not with bit columns. Aggregate functions and subqueries are not permitted.
