title: Ampersand (&) operator in a SQL Server WHERE Clause
body: <p>Sorry for the very basic question. What does the <code>&amp;</code> operator do in this SQL</p>
  
  <pre><code>WHERE (sc.Attributes &amp; 1) = 0 
  </code></pre>
  
  <p><code>sc</code> is an alias for a table which contains a column <code>attributes</code>.</p>
  
  <p>I'm trying to understand some SQL in a report and that line is making it return 0 entries. If I comment it out it works. I have limited SQL knowledge and I'm not sure what the <code>&amp; 1</code> is doing.</p>