PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

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