Question : T-SQL: No Min(x,y) Mathematical Function???

Is there no Min(x,y) mathematical function in SQL Server?

(NOT the min(column) aggregate function.)

If so, this perplexes me that I'm going to have to write a primitive function.

Pete

Answer : T-SQL: No Min(x,y) Mathematical Function???

>Is there no Min(x,y) mathematical function in SQL Server?
no.
but you can do this:
CASE WHEN x < y THEN x ELSE y END
Random Solutions  
 
programming4us programming4us