The advice from Dr. Richard Hipp did the trick. I added a multi column index and now the query takes less than a tenth of a seconds. Thanks a lot for the help you guys!
I was going to send this acknowledgement by replying to the message by Dr. Hipp, but for some reason I didn't receive it, so I'll just send it like this instead. -- Rickard Andersson arpen_at_home_dot_se --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]