How would I go about doing a query that returns results of all rows that contain dates for current year and month at the time of query.
Timestamps for each row are for
you could extract the year and month using a function, but that will not be able to use an index.
if you want scalable performance, you need to do this:
SELECT * FROM myTable WHERE some_date_column BETWEEN '2009-01-01' AND '2009-01-31'