note
Daruma
Greetings!!<br><br>
I have to agree with [swiftone] on this... The call to <code>$sth->finish</code> is troublesome. It basically will stop your fetch immediately. According to the perldoc's, [http://search.cpan.org/author/TIMB/DBI-1.30/DBI.pm#finish|finish] is rarely used, and then only when you expect the statement to be destroyed or re-executed. By including it in your loop, you are trying to fetch using a destroyed (finished) statement.<br><br>
I tested your code (against an Oracle DB...) and it works when I remove the <code>$sth->finish</code> call entirely.<br><br>
-[Daruma]
201039
201039