T-SQL has MIN() aggregate function. I guess you're refering to another one MIN(a,b) which can be replaced with CASE function.
CASE WHEN @a < @b THEN @a ELSE @b END
>Is there an equivalent function in SQL that works the same as the FoxPro Min function?
>
--sb--