Microsoft
Software
Hardware
Network
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
How to Remove Roaming Profile in SBS 2003
How o get most recent record from history?
Need to hide passwords in ADO connection string
Oulook distribution list does not send to everyone in the list
Problem using update command in Foxpro
How do I get the time in HH:MM:SS format into a text file?
Drop Table
Should the == operator ignore collation or not?
Compile Error in VBA Access
Duplicate entries in Combo box