in reply to Alternative for multiple while loops to improve performance
Um ... where is the Perl code?
On a side note: Please consider using placeholders to avoid huge security risks.
Sorry, I didn't really bother to decipher your SQL, but often performance issues are connected to missing indices on relevant fields.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
|
|---|