All,
I have problem getting rows count from Oracle DB:
$sth = $dbh->prepare("select * from tbl")
or die "Can not execute: $DBI::errstr";
$sth->execute();
$total_rec = $sth->rows;
Some how the $total_rec is always zero even there are many records. I have read some other people posting, this is not working for Oracle. Is there any other solution?
thx.
I have problem getting rows count from Oracle DB:
$sth = $dbh->prepare("select * from tbl")
or die "Can not execute: $DBI::errstr";
$sth->execute();
$total_rec = $sth->rows;
Some how the $total_rec is always zero even there are many records. I have read some other people posting, this is not working for Oracle. Is there any other solution?
thx.