title: I can't get my case statement in my where clause to work with a parameter
body: <p>I'm making a report that allows me to see information depending on if I have paid for Freight or not.</p>
  
  <pre class="lang-sql prettyprint-override"><code>SELECT...
  FROM...
  WHERE CASE 
        WHEN @Billed = 1 THEN Freight &gt; 0
        WHEN @Billed = 0 THEN Freight = 0
        ELSE Freight &gt;= 0 END
  </code></pre>