It doesn't return any rows with today's date because GETDATE()
gives date and time. So, in your example, converting 2013-12-30
to a DATETIME
gives you 2013-12-30 00:00:00
, which isn't equal or greater than 2013-12-30 12:09:35
(the result of GETDATE()
for me in this moment). You need to use:
WHERE date >= CONVERT(DATE,GETDATE())