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
    I only tend to code Perl so I guess I'm too used to coming here with my questions. My bad