Select Convert(Varchar(7),DateAdd(mm,number,'2014-01-01'),120) As YYMM From master..spt_values Where [type] = 'p' and number Between 0 And DateDiff(mm,'2014-01-01','2014-12-01')
Select Convert(varchar(7),Adddate,120) [Month] From KS_Article Where AddDate Between '2014-01-01' And '2014-12-31' Group By Convert(varchar(7),Adddate,120)