Closed seldo closed 9 years ago
According to http://dev.mysql.com/doc/refman/5.0/en/comparison-operators.html#operator_between using CAST and BETWEEN will be faster but so far EXPLAIN is showing no difference. Doesn't hurt, though.
(This is running on downloads-3-west as a test)
downloads-3-west
Aside from in-air conversation, this looks like the conventional approach. LGTM. :flags:
According to http://dev.mysql.com/doc/refman/5.0/en/comparison-operators.html#operator_between using CAST and BETWEEN will be faster but so far EXPLAIN is showing no difference. Doesn't hurt, though.