in reply to Re^2: DBD::Sybase $sth->rows returns -1
in thread DBD::Sybase $sth->rows returns -1
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: DBD::Sybase $sth->rows returns -1
by poj (Abbot) on Jan 07, 2016 at 14:07 UTC | |
|
Re^4: DBD::Sybase $sth->rows returns -1
by hotchiwawa (Scribe) on Jan 07, 2016 at 09:15 UTC |