Skip to main content

Leon

Member since Dec 11, 2008

Recent Blog Comments By Leon

  • SQL COALESCE() Very Cool, But Slower Than ISNULL()

    Posted on Sep 29, 2006 at 2:37 PM

    COALESCE is actually very useful in certain situations. For example, if you had a table with two quantity columns and you wanted to sum the difference between them, you would do, select sum(coalesce(quanitty1, 0) - coalesce(quantity2, 0)) as difference If you didn't use coalesce, then the sum wil... read more »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel