I am trying to “SELECT” a time range while ignoring the date portion of a “TIMESTAMP” field (09-09-11 10:23:03).
The query below works but has huge performance costs…
SELECT * FROM Table WHERE Time LIKE '10:09:13'
What is the fastest way to do this on a table with 1/2-1 million rows without using the “LIKE” command?
That should do it.