title: Convert date to YYYYMM format
body: <p>I want to select value = <code>201301</code></p>
  
  <pre><code>select getdate(), cast(datepart(year, getdate()) as varchar(4))+cast(datepart(MONTH, getdate()) as varchar(2))
  </code></pre>
  
  <p>it returns <code>20131</code></p>
  
  <p>what is the normal way to do this?</p>