Skip to main content


Member since Dec 27, 2011

Recent Blog Comments By Adam

  • Using NULLIF() To Prevent Divide-By-Zero Errors In SQL

    Posted on Dec 27, 2011 at 3:18 PM

    I'm attempting to use this feature when calculating the average for a value, but I'm not certain if my syntax is correct as CF throws an error: avg (isNull((((docunitprice * orderqty)-((c.avglaborcost + c.avgburdencost + c.avgmaterialcost + c.avgsubcontcost + c.avgmtlburcost)*d.orderqty))/ nullif(d... 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