title: Extract Month and year in T-SQL
body: <p>I need to extract the month and year in SQL Server. For example if the date is 2015-01-01, I want to make it 201501  and convert it to varchar(6)</p>
  
  <p>How do I do this?</p>