title: Using CASE Statement inside IN Clause
body: <p>Is is possible to use a CASE statement inside an IN clause?</p>
  
  <p>This is a simplified version of what I have been trying to get to compile correctly:</p>
  
  <pre><code>SELECT * FROM MyTable 
  WHERE StatusID IN (
  CASE WHEN @StatusID = 99 THEN (5, 11, 13)
  ELSE (@StatusID) END )
  </code></pre>
  
  <p>Thanks!</p>