If you are passing in the month and year of the last row that you want, and you want it and all preceeding rows, you need to use logic like:
Code:
WHERE year < 2005 OR (2005 = year AND month <= 3)
If you meant something different, can you explain whatever I'm missing?
-PatP