in reply to Perl Query Locks A MsSQL Database
Agree with Corion, try reading everything into a large array first then parse through it.
Also, potentially a dumb question because I don't do a lot of DB work within Perl, but is there any reason you're executing your statement within an eval?
In Section
Seekers of Perl Wisdom