in reply to MSSQL and Perl - heavy load
In addition to what bv explained, the $sth->fetchrow may also fail. From the docs (emphasis added):
If there are no more rows or if an error occurs, then fetchrow_array returns an empty list. You should check $sth->err afterwards (or use the RaiseError attribute) to discover if the empty list returned was due to an error.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: MSSQL and Perl - heavy load
by taomanjay (Novice) on Jan 11, 2010 at 18:46 UTC | |
by almut (Canon) on Jan 11, 2010 at 21:47 UTC | |
by taomanjay (Novice) on Jan 11, 2010 at 22:52 UTC |