Tag Archives: primitive sql types

Implicit conversions will find you

– two thirds minus one half SELECT 2/3 – 1/2 , 2/3 – 1.0/2 , 2.0/3 – 1/2 , 2.0/3 – 1.0/2 , ISNULL(2/3, 1.0) – .5 , ISNULL(2.0/3, 1) – .5 , COALESCE(2/3, 1.0) – .5 , COALESCE(2/3.0, 1.0) … Continue reading

Posted in Code Review | Tagged , , , , | Leave a comment