I have a DATETIME column in my table that is stored when I create a record. I want to select only records created on a specific date. If I try:
SELECT * FROM myTable WHERE postedOn = '2012-06-06'
It does not return rows, although there are many rows in the table, and postedOn
set as 2012-06-06 21:42:02
, 2012-06-06 07:55:17
, etc.
Any ideas?
source share