Home Forums SQL Server 2005 T-SQL (SS2K5) SUM Case statement where COUNT inside CASE statement RE: SUM Case statement where COUNT inside CASE statement

  • Go with the temp table idea. It's the best option.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon