Find datetimes with time of 00:00:00

    Date: 09/09/08 (MySQL Communtiy)    Keywords: no keywords

    What is the best/fastest way to find records with datetimes having times of 00:00:00? ex: `2008-01-23 00:00:00`

    Using LIKE '%00:00:00' takes a relatively long time (2 seconds looking across 500,000 records).

    Source: http://mysql.livejournal.com/131436.html

« Efficient full-text searchs... || Find datetimes with time of... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home