Skip to Content.
Sympa Menu

freetds - Dumb DBD::Sybase question.

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Jaye Mathisen <mrcpu AT internetcds.com>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Dumb DBD::Sybase question.
  • Date: Mon, 27 Sep 1999 17:29:08 -0700 (PDT)




playing around with DBD::sybase some more.

Is ->rows only valid after all rows are read?

ie

$sth -> prepare ("some statement");

$sth-> execute;

while ( @x = $sth->fetchrow) {
$i = $sth->rows;
}



$i only gets the correct value after the last row is fetched.
The rest of the time it's -1;

looking at some DBD::Mysql stuff I have, this doesn't appear
to be the case there.





Archive powered by MHonArc 2.6.24.

Top of Page