I need to create a query which returns years and months from april 2013 to now like following:
2013  | 4
2013  | 5
2013  | 6
2013  | 7
2013  | 8
....  | .
....  | .
....  | .
2015  | 1
2015  | 2
2015  | 3
2015  | 4
It must works with SQLServer 2000, and all solution I found on SE are only SQLServer2005+ compatible.
Is there a way to do it with this (very) old SGBD?
If there is no solution I would consider to create a table of numbers but I don't find it really elegant...
 
     
    