I am using while loop to get all the fetched records. In select queries I am using your suggestion where ever possible or else writing another query with select count(*)
But even in case of UPDATE queries I am getting -1 for $sth->rows and trying to figure out how to handle that.
In reply to Re^3: DBD::Sybase $sth->rows returns -1
by Perl300
in thread DBD::Sybase $sth->rows returns -1
by Perl300
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |