title: Using comparison operators in SELECT clause of T-SQL query
body: <p>How to select a result of comparison operator as a field with type BIT?</p>
  
  <p>How it does work in <code>C#</code>:</p>
  
  <pre><code>bool isGreater = FieldA &gt; FieldB;
  </code></pre>
  
  <p>How it doesn't work in <code>T-SQL</code>:</p>
  
  <pre><code>SELECT (FieldA &gt; FieldB) AS BIT FROM t
  </code></pre>
  
  <p>How to write such task properly?</p>