Not really Ignition related, but I was trying to optimize a table in MySQL and added an index on a datetime column. It didn’t seem to make much difference. I then noticed this:
So, this query:
WHERE DATE(x) = '2016-09-01' /* slow! */
This one,
WHERE x >= '2016-09-01'
AND x < '2016-09-01' + INTERVAL 1 DAY /* fast! */
Do other databases act in this way?