sybperl-l Archive
Up Prev Next
From: Michael Peppler <mpeppler at MBAY dot NET>
Subject: Accessing @@rowcount global variable
Date: Jul 21 1998 2:22PM
Simon Yaminian writes:
> Hello,
>
> The number of rows affected by a query is reflected in the @@rowcount
> global variable. Is this variable accessible through Sybperl and if it is
> how?
In DBlib is DBCOUNT().
In CTlib it's
$rows = $dbh->ct_res_info(CS_ROW_COUNT);
Michael
--
Michael Peppler -||- Data Migrations Inc.
mpeppler@datamig.com -||- http://www.mbay.net/~mpeppler
Int. Sybase User Group -||- http://www.isug.com
|