title: SQL Server - Count difference months between two dates
body: <p>Is there any way to calculate the number of months between two dates?</p>
  
  <p>I have this </p>
  
  <pre><code>SELECT DATEDIFF(mm, '2015-11-01', '2015-12-01')
  </code></pre>
  
  <p>but this brings me 1 and in fact I want it to be 2, I should sum 1 to the result or there is another function specifically for this?</p>
  
  <p>Let me explain what I need, I have months and years, I don't care about the day because is always 01, so each date is represented with yyyy/mm/01, in my case I identify a value and this values appears on '2015-11-01' and '2015-12-01', this means I have it in two months, now I need to calculate the number of months, so with datediff returns 1 which is not right in my case.</p>