title: T-SQL SYNTAX ISSUE - using OR in CASE statement
body: <p>i would like to build a CASE statement that incorporates the following logic, but the sql compiler does not like the 'OR' in my statement:</p>
  
  <pre><code>CASE expression
  WHEN expression1 OR expression2
  THEN &lt;yadda yadda&gt;
  ELSE &lt;yadda yadda&gt;
  END
  </code></pre>
  
  <p><strong>more specific code below:</strong></p>
  
  <pre><code>CASE @var1
  WHEN '99' OR '22'   
              THEN        
                  (CASE @var2
                  WHEN 'All' THEN col1
                  ELSE @var2
                  END)
  END
  </code></pre>