Hello All,
Looking for some help. I was hoping to run a query to get all records in a table where the current month is equal to a column called start.
So for example this month is April. So say in my database I had these records:
2009-04-01 09:00:00
2009-03-08 09:00:00
2009-04-15 09:00:00
Only the first two records would be outputted. I thought it would be something like this?
ThanksCode:SELECT * FROM `table` WHERE (MONTH(starts) = MONTH(GETDATE()))







Bookmarks