Is there a way to query only the Date section for the field?
I would like to construct a query that reports the records which are created on a specific day. Using the PHPMyAdmin tool I can build the following query:
SELECT *
FROM `relaytofrom`
WHERE `origin_type` = CONVERT( _utf8 'MANUAL'
USING latin1 )
COLLATE latin1_swedish_ ci
AND `create_time` = '2008-05-28 08:19:05'
(another question, why on earth can't I build a SIMPLE non-converting query against the DB???)
The problem that I have is that there is always a Time included in the DateTime query string. If I eliminate the time section of the query string. I do not retrieve any records in the select.
Is there a way to query only the Date section for the field?
I would like to construct a query that reports the records which are created on a specific day. Using the PHPMyAdmin tool I can build the following query:
SELECT *
FROM `relaytofrom`
WHERE `origin_type` = CONVERT( _utf8 'MANUAL'
USING latin1 )
COLLATE latin1_swedish_ ci
AND `create_time` = '2008-05-28 08:19:05'
(another question, why on earth can't I build a SIMPLE non-converting query against the DB???)
The problem that I have is that there is always a Time included in the DateTime query string. If I eliminate the time section of the query string. I do not retrieve any records in the select.
Is there a way to query only the Date section for the field?
Comment