title: SQL Conditional on Bit
body: <p><strong>Why</strong> does this.. </p>
  
  <pre><code>DECLARE @SkyBlue Bit
  SET @SkyBlue = 1
  IF @SkyBlue
      Select 'the sky is blue!'
  ELSE
      Select 'the sky is not blue!'
  </code></pre>
  
  <p>Produce this</p>
  
  <blockquote>
    <p>"An expression of non-boolean type
    specified in a context where a
    condition is expected, near 'Select'."</p>
  </blockquote>
  
  <p>And is there a Boolean type in SQL2008?</p>