title: Single Line IF in T-SQL
body: <p>In C# we can write single if syntax:</p>
  
  <pre><code>string test;
  int value=1;
  test = value&gt;=1 ? "is bigger or equal one" : "is less than one";
  </code></pre>
  
  <p>T-SQL in SQL Server 2008 R2 has single <code>IF</code> syntax?</p>