That seems correct to me. You may have better luck on [EMAIL PROTECTED] if maybe this is an Oracle specific thing or such.

http://danconia.org

-----Original Message-----
From: Kevin Old [mailto:kold@;carolina.rr.com]
Sent: Thursday, November 14, 2002 3:10 PM
To: [EMAIL PROTECTED]
Subject: DBD::Oracle row count not working


Hello all,

I've been using DBD::Oracle for quite some time now, but have just
noticed a major problem....I can't get the number of rows returned from
a query.  Here's my code:

#db2 handle defined here


$sth2 = $dbh2->prepare($select);
                $sth2->execute;
                $rv2 = $sth2->rows;
                print "There are $rv2 rows.";

I've used different scripts and still all I get is zero rows reported
from rows(), but plenty of data comes back.

Any ideas?

Thanks,
Kevin

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to