title: How to get year and month separately from this string in sql server?
body: <p>I have this string format mm/yyyy-</p>
  
  <p><code>01/2010</code> </p>
  
  <p>how do i get the month and year separately from it. I want it separately 01 and 2010 in a way i could compare them?</p>