Skip to main content


Member since Nov 29, 2011

Recent Blog Comments By Sam

  • Getting One Record Per Group From A One-to-Many Join

    Posted on Nov 29, 2011 at 1:17 AM

    How about: select, <!--- Phone data. ---> ( ) AS phone_number, ( p.ext ) AS phone_ext, ( ISNULL( p.is_preferred, 0 ) ) AS is_preferred FROM @contact c LEFT OUTER JOIN @phone p = group by order by is_preferred, 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