in reply to Perl and MySQL woes
This is really a MySQL question.
I suggest you ask MySQL to explain both queries and see how they differ. My guess is that the one using IN is using an index for each of the dates you give it, and the other one is doing a scan of some kind.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl and MySQL woes
by cosmicperl (Chaplain) on Jan 13, 2008 at 03:53 UTC | |
by ysth (Canon) on Jan 13, 2008 at 07:15 UTC |